Wednesday, April 09, 2008

Fix Ubuntu Firefox

I hate to say this about Ubuntu (As of this date using Gutsy Gibbon), their Firefox package stinks at the moment. There is a few missing lib files that prevents certain great addons to work normally with Firefox. Addons such "ColorPicker" and "Firebug" should work out of the box, unfortunity Ubuntu's Firefox does not allow them to work.

Removing Ubuntu's package of Mozilla Firefox is not an easy task so just leave it really. Instead do the following

1) Install all your fav plugins via the package manager or fav repositaries :) Also take care with installing "Adobe Reader", should be fairly straight forward. Also read Ubuntu's community docs if you still stuck

2) Make sure all plugins work and are registered with Ubuntu's Firefox. Also visit "about:plugins" in the address bar.

3) Get the "offical Firefox" the regular way from here. Download and extract the contents to /usr/local/ Then make a shortcut(Launcher) to "/usr/local/firefox/firefox" somewhere on your desktop or panel. Course to be root for this press "ALT+F2" then type "gksudo nautilus", after that it should prompt for your root password. You can then navigate to "/usr/local/" folder.

Ok to save the hassle of installing plugins for your offical version of firefox, do the following. you will need to be "root" to do the next steps. Also you need to have a terminal up (Applications->Terminal) ^^

1) Rename the /usr/local/firefox/plugins to plugins-backup
"sudo mv /usr/local/firefox/plugins /usr/local/firefox/plugins-backup"

2) Make a symbolic from /usr/local/firefox/ to the plugins folder(/usr/lib/mozila) already installed via the package manager.
"sudo ln -s /usr/lib/mozilla/plugins/ /usr/local/firefox/plugins"

3) Stop any old Ubuntu Firefox and launch your "offical Firefox" and visit "about:plugins". Remember don't use "Internet->Firefox Web Browser", you have to use the new launcher you made on your desktop ^^

To save a little confusion, remove any old Firefox launchers till Ubuntu resolves the issue. You can leave the "Internet->Firefox Web Browser" one, just to let you know that you still have Ubuntu's Firefox. I generally place my "offical Firefox" in a panel or in an application dock like "AWN Manager". Enjoy your "offical Firefox" from Mozilla :)

No comments: