[v0.2.0] Configuring Pipelight for a (non-) system-wide installation

Created by Sebastian Lackner on on 2013-08-21
Keywords:
Last updated by:
Michael Müller on on 2015-04-27

Pipelight supports (minimum version >= 0.1-2) switching between a system-wide installation and a non-system-wide installation.

* When choosing a system-wide install (default in previous versions) this will allow you and other users on this computer to use Pipelight in every installed browser supporting the NPAPI plugin interface.
 * When not choosing a system-wide install you will get all files installed, but still manually have to configure your browser properly to use Pipelight.

You can change your previous decision at any time by executing:

# When using Ubuntu + the 'package' pipelight
sudo dpkg-reconfigure pipelight

# Other distros and users of the 'pipelight-multi' package
sudo pipelight-plugin --disable silverlight

When you decide to enable it manually, you can either do this for a specific user (easy way) or for a specific browser "profile".

[NOTE: As /usr/lib/pipelight/ contained only a single *.so file in previous versions, it was sufficient to just set MOZ_PLUGIN_PATH=/usr/lib/pipelight/. Don't do this with pipelight >= 0.2.0 unless you really want all plugins to be loaded at the same time. ]

.

Enable for a whole user:
---------------------------------
Just run the following command as a normal user (WITHOUT sudo!):

pipelight-plugin --enable silverlight

.

Enable it just for a specific browser (profile):
------------------------------------------------------------
The normal per-user-configuration is stored in the folder ~/.mozilla/plugins. To prevent that Silverlight is loaded always, its also possible to create a custom plugin directory as described below.

# Create plugin dir (choose any name you want)
mkdir ~/myplugins

# Enable plugins in this directory
MOZ_PLUGIN_PATH=~/myplugins pipelight-plugin --enable silverlight

# Run the browser (Firefox / Google-Chrome / Chromium / Uzbl)
MOZ_PLUGIN_PATH=~/myplugins firefox
MOZ_PLUGIN_PATH=~/myplugins google-chrome (not supported any more)
MOZ_PLUGIN_PATH=~/myplugins uzbl

# Opera specific:
Open Opera and go to Settings -> Preferences. Then select the tab 'Advanced' and 'Content' in the menubar left. Click on the button 'Plug-in Options'. As a next step click on 'Change Path...' and add the path "/home/.../myplugins". Confirm all opened dialogs and Pipelight should be loaded automatically with each next start.