Why would anyone want to run Firefox ESR?
Later this year, Mozilla will be trashing their browser by eliminating the older extension interface. Since many extensions will be going away, I plan on prolonging this tragedy as long as possible by running the Firefox ESR version.
I’m curious if and how others are approaching this. Here’s what I’m doing on 16.04 LTS so far and there have been changes in both versions since I did this. It seems robust.
Goals
I don’t want to put browser installations in my home directory or have them owned by anyone but root. I also do not want to uninstall the regular version. Personal preference.
My procedure (not step-by-step)
-
As root, I extract the latest ESR downloaded file to /opt to create /opt/firefox.
-
Then, as root, I change the /usr/bin/firefox link to point to /opt/firefox/firefox. At this point, all standard launchers are on ESR. On first run, it should ask to set as default to which I said yes.
That’s it. The ESR version picks up and uses the ~/.mozilla settings ok. The rest is all about maintaining this install.
When the ESR version has an update
The ESR’s About screen has a Check-For-Updates. You cannot, as a normal user, update from here but root can. This means running gksu firefox
- the act that makes me the most nervous so I carefully only do this for updating and do nothing else as root. I know I could extract again but this is far easier. And yes, /root/.mozilla gets created.
EDIT NOTE: It is very important to use gksu (or its equivalent link gksudo). Do NOT use sudo!!! or your user profile will likely get trashed with files owned by root.
When the normal version has an update
First, I already under no circumstances allow background updating on any system I own. So it’s easy for me to see when there’s a Firefox update. Yes… it did change the ~/usr/bin/firefox
link back so I have to redo it from step 2) above. I really don’t want my profile to ever see the regular version but this is a rather manual process I wish were easier not to goof up.
Anyone see an issue with this process? What are YOU doing and why?
TIA