Pipelight - Using Silverlight in Linux Browser
http://www.ubuntugeek.com/pipelight-using-silverlight-in-linux-browsers.html
因为Ubuntu下要访问的网站需要支持Silverlight,本来指向的是moonlight,但是试了之后没有安装成功,然后又看到这篇安装Pipelight,是可以成功的,就拷贝下来作为资料备份。
Pipelight, which allows to run your favorite Silverlight application directly inside your Linux browser. The project combines the effort by Erich E. Hoover with a new browser plugin that embeds Silverlight directly in any Linux browser supporting the Netscape Plugin API. He worked on a set of Wine patches to get Playready DRM protected content working inside Wine and afterwards created an Ubuntu package called Netflix Desktop. This package allows one to use Silverlight inside a Windows version of Firefox, which works as a temporary solution but is not really user-friendly and moreover requires Wine to translate all API calls of the browser. To solve this problem we created Pipelight.
Pipelight consists out of two parts: A Linux library which is loaded into the browser and a Windows program started in Wine. The Windows program, called pluginloader.exe, simply simulates a browser and loads the Silverlight DLLs. When you open a page with a Silverlight application the library will send all commands from the browser through a pipe to the Windows process and act like a bridge between your browser and Silverlight.
Install pipelight on ubuntu
Open the terminal and run the following comamnds
sudo apt-add-repository ppa:ehoover/compholio
sudo apt-add-repository ppa:mqchael/pipelight
sudo apt-get update
sudo apt-get install pipelight
You may need to accept a license agreement for a set of fonts during the installation. After it's done just start your browser, type about:plugins in the addressbar and hit enter -- if the installation went well you should now see Silverlight in your plugin list and everything is ready to run! Pipelight will install Silverlight on the first start of your browser, this may freeze the interface for several minutes (and you may just see a blank page without any progress). There might appear some dialog asking if Mono or Gecko should be installed during the Silverlight installation -- you can safely choose no, as this is not necessary to get Pipelight running. After this step, the overall performance of your browser shouldn't be affected any more.
If you prefer to use Pipelight using your existing version of Wine and Silverlight, you need to invoke apt-get with the following parameter:
sudo apt-get --no-install-recommends install pipelight
最后一句好像没有用上,因为运行的时候说已经安装了pipelight。
但我在执行前面那一堆之后,还执行了:
sudo pipelight-plugin --update
sudo pipelight=plugin --enable silverlight
并且about:plugins也是一条比较有用的语句,可以察看哪些插件已经安装。
经过一番折腾后,再上那个网页,显示一个选项:是否激活silverlight,选择是,之后那个网页就可以正常使用了。