How to stop Firefox from auto updating in Linux

Firefox

In Linux, Firefox has this bad habit of wanting to update itself when you’re not ready to perform that task. And it will not let you open a new tab or window until you allow it to apply the update. I find it very annoying. There are any number of knobs you can tune to disable this feature in about:config, but there’s no guarantee that they’ll work as expected. And if you use more than one Firefox profile, as most power users do, you’ll have to tune about:config for each profile. In this post, I’ll show you how to do it system-wide, and it’s guaranteed to work.

With the default setting, Firefox will download and install the update in the background, and then throw up the prompt shown here when you want to open a new tab or window. That means you won’t be able to open that new tab or window until you agree to restart Firefox. And that almost always happens when I’m in the middle of doing something very important and not ready to restart Firefox.

Related Post:  BackTrack 5 or Kali Linux 1.0
Firefox auto update prompt
Figure 1: Firefox prompt when an update is available.

 

This image show the relevant section in Firefox’s settings. Linux users used to be able to disable automatic updates from this section. Not any more.

Firefox auto updates Linux
Figure 2: Firefox auto updates settings in Linux.

Alright, so how do you stop Firefox from annoying you – permanently? Simple, just follow these steps form your command line, so you need to have a terminal application open:

Related Post:  OpenSSH Server Installation on Linux Mint 6

Step 1

Change directory to /etc/firefox. The command to use is cd /etc/firefox. A listing should show a directory – pref, and a file – syspref.js.

Step 2

Create a new directory called policies. The command to use is sudo mkdir policies. Then change to the new directory using the cd policies command.

Step 3

Within that directory, create a new file called policies.json using the sudo nano policies.json command. Then add the following block of code into that file. Save and close it. That’s it! Firefox will never, ever bug you again, and Firefox will only update when you update the other applications on your system using your package manager.

{
    "policies": {
    	"ManualAppUpdateOnly": true
    }
}

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
0
Hya, what do you think? Please comment.x
()
x
Algorithm 2020

Did you get your ticket yet?

Algorithm 2022 is a 3-day conference on blockchain, cryptocurrencies and AI set for Feb. 10 – 12, 2022, in Dallas. Speakers from the US Air Force, Ministry of Digital Transformation, Ukraine, and more. click that button to learn more and get your ticket. Use BSD20 code for 20% off ticket price.