Tag: plugin

Moonlight: Silverlight alternative for Linux

Recently, I visited the China website for listening some songs using Firefox 7.0, and found that I need a plugin called Moonlight, since I am using Linux.

So, this Moonlight is the Silverlight alternative for Linux. If you visit the website such as 1ting.com, then this is what you need.

However, Moonlight xpi file is not compatible to Firefox 7.0. Thus, some modifications towards the xpi file is needed. If using Arch Linux, it is available in AUR (submitted by me).

The workaround for the modifications,

  1. Extract the xpi
  2. Edit install.rdf, <em:maxVersion>4.0.*</em:maxVersion> to 7.0.*
  3. Remove META-INF folder, this is for verification
  4. Then, some users mentioned to zip it and rename to .xpi extension (I didn’t test)
  5. Open the xpi file from Firefox, will install the plugin

In my case of AUR, there is no step 4 and step 5, but copy the extracted files and folders into “/usr/lib/firefox-7.0/extensions/moonlight@novell.com/”. The “moonlight@novell.com” is the plugin ID, so, I think it is also possible to copy the extracted files to “~.mozilla/firefox/xxxxxxxx.default/extensions/moonlight@novell.com/”, where xxxxxxxx.default is your Firefox profile. But I didn’t try this method.