From ArchWiki
Revision as of 20:23, 31 May 2013 by Flu (talk | contribs) (Tips & Tricks -> Tips and tricks)
Jump to: navigation, search

zh-CN:Moonlight Moonlight was a free and open source implementation of Silverlight, primarily for Linux and other Unix/X11 based operating systems. Moonlight 1.0 was released on January 20, 2009 and 2.0 on December 17, 2009. The preview release of Moonlight 4.0 was released in early 2011.

Note: Since 2011 the project has been discontinued (from Wikipedia):
"In December 2011 Miguel de Icaza announced that work on Moonlight had stopped with no future plans. He explained that, although there was always some bloat, complication and over-engineering in the Silverlight vision, Microsoft had "cut the air supply" to it by omitting cross-platform components, making it a web-only plugin, and including Windows-only features. He advised developers to separate user interface code from the rest of their application development to ensure "a great UI experience on every platform (Mac, Linux, Android, iOS, Windows and Web)" without being dependent on third party APIs."


Mozilla Firefox

There are two options for installing Moonlight in Firefox.

From the AUR: Install the firefox-moonlightAUR package.

Manually: Go to the download page of the Moonlight website and download and install the .xpi file.

Google Chrome

From the AUR: Install the google-chrome-extension-moonlightAUR package.

Manually: Installing extensions from outside the Chrome Web Store is a hidden since Chrome v21.

  1. Download the Moonlight package for Chrome.
  2. Make sure no page is currently opened inside Chrome that is trying to load Silverlight/Moonlight.
  3. Go to the extensions page.
  4. Enable "Developer mode" (top right).
  5. Now drag and drop the extension file to the extensions page.
  6. You can turn off "Developer mode" if you wish.
Tip: An alternative download link, in case the Moonlight web site isn't responding.

Tips and tricks

You may trick the Moonlight plugin to play supposedly unsupported content by editing the version number in

For Google Chrome:

sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.config/google-chrome/Default/Extensions/ldjmcjaammmjjilbjpacphekcgfnmdlk/

For Mozilla Firefox:

sed -i 's/4.0.51204.0/4.0.60831.0/g' ~/.mozilla/firefox/$(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini)/extensions/

The command $(sed -n 's/^Path=//p' ~/.mozilla/firefox/profiles.ini) finds out the default profile as stated in ~/.mozilla/firefox/profiles.ini.

Note: DRM protected content is not supported.