The Road to Elysium

June 21, 2009

Installing add-ons globally on Firefox

Filed under: Linux — jorge @ 20:22

Most often when creating different profiles in Firefox, you use them for various things. One profile might have all the web-developer tools and add-ons you need in order to be your geeky self, while profile number two has your gamer-add-ons, which you don’t want to mix. But what if you want certain add-ons to be global? So when you do create a second profile, you won’t have to reinstall the same add-on twice, or more. The answer? Installing things through the command line.

For instance, let’s take the add-on AdBlock Plus. Great add-on. I for one want it on every Profile. So instead of doing it through the browser-interface, installing it once for every profile, do it through the command line, globally.

Become root and grab the add-on:

$ su -
# cd /root/
# wget https://addons.mozilla.org/downloads/latest/1865/adblock_plus-1.0.2.xpi

And then install it globally:

# firefox -install-global-extension /root/adblock_plus-1.0.2.xpi

And presto, the addon should now be located in /usr/lib/firefox/extensions, available for all profiles.

Nifty huh?

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress