7 Ways to Speed Up Firefox Browser in Linux Desktop

Firefox browser is the default browser for most modern Linux distributions such as Ubuntu, Mint, and Fedora. Initially, its performance might be impressive, however, with the passage of time, you might notice that your browser is not as fast and responsive as it once was. A sluggish browser can be quite frustrating as it tends to eat into your precious time as you wait for it to load your tabs and respond to input.

[ You might also like: Best Web Browsers for Linux ]

If you are experiencing such performance issues, here are a few quick fixes to help speed up your Firefox browser in Linux.

1. Update Firefox

The first action you might need to take is to update your browser to the latest version. This addresses any underlying issues that impacted the browser’s performance in previous versions.

Firefox typically auto-updates when a new version is available. This happens when you have an active internet connection and you restart Firefox, especially after a system reboot.

If in doubt about the version of your Firefox browser, you can verify the version by clicking the three-line menu at the top-right of the screen and selecting Help –> About Firefox.

From the pop-up shown, we are currently running Firefox 79.0.

Check Firefox Version
Check Firefox Version

However, at the time of publishing this guide, the latest version is Firefox 94.0. So, how do you update to the latest Firefox version?

There are two approaches to this – On command-line and GUI. On the command line, run the following command to update and upgrade all the software packages including Firefox itself.

$ sudo apt update && sudo apt upgrade  [On Debian, Ubuntu and Mint]
$ sudo dnf udpate && sudo dnf upgrade  [On RHEL/CentOS/Fedora and Rocky Linux/AlmaLinux]
$ emerge --update --deep --with-bdeps=y @world              [On Gentoo Linux]
$ sudo pacman -Syu                     [On Arch Linux]
$ sudo zypper update                   [On OpenSUSE]

The other alternative is using the software updater which lists all the packages with pending updates. You can choose to update Firefox alongside other packages or simply select Firefox alone for updates.

Once the update is done, be sure to restart your browser for the changes to apply. Upon confirmation, we now have the latest Firefox version as indicated in the pop-up below.

Check Firefox About
Check Firefox About

2. Enable Hardware Acceleration in Firefox

By default, Firefox comes with hardware acceleration disabled on all Linux distributions. Enabling hardware acceleration is known to cause a noticeable improvement in Firefox’s responsiveness.

To enable hardware acceleration, follow the steps below:

  • Browse about:preferences on the URL bar.
  • Scroll down to the General section and then navigate to Performance.
  • Uncheck the ‘Use recommended performance settings’ option.
  • Then check the ‘Use hardware acceleration when available’ setting to enable hardware acceleration.
Enable Firefox Hardware Acceleration
Enable Firefox Hardware Acceleration

Below the hardware acceleration option is the ‘Content process limit’.

If your PC has more than 8GB & has a dedicated GPU such as NVIDIA, set it to 8. Else, just leave it to the default 4 value. It is perfectly safe to leave it at 5 for 16GB RAM and 6 in case you have 32GB RAM.

3. Disable Firefox Data Collection & Use

Generally, Firefox collects and sends anonymous data about browser activity to its servers in a bid to make improvements to its features. While it doesn’t compromise your privacy it slows down your browser.

You can prevent Firefox from sending data anonymously with a few simple steps.

  • Head over to about: preferences.
  • Proceed to ‘Privacy & Security’ and then proceed to ‘Firefox Data Collection and Use’.
  • Uncheck all the options.
  • Then restart Firefox.
Disable Firefox Data Collection
Disable Firefox Data Collection

4. Free Up Firefox Memory

In case you are still having issues with your browser, consider freeing up some memory. To do this, follow the following simple steps:

  • On the URL bar, browse about:memory.
  • In the ‘Free memory’ section, click on ‘Minimize memory usage’.
Firefox Memory Usage
Firefox Memory Usage

This should provide the much-needed boost in speed.

5. Manage Firefox Browser Tabs

Keeping multiple active tabs open usually drives up the memory usage and impacts the performance of not only your browser but the overall system performance. If you are in the habit of keeping several tabs open, consider trying out an extension called Auto Tab Discard.

This is a lightweight browser extension that automatically scales down memory load as a result of open but inactive tabs.

To get the extension, follow these steps:

  • Click the three-line menu at the top-right of the screen.
  • Select Add-ons and themes.
  • Search for Auto Tab Discard extension and install it.
Firefox Auto Tab Discard
Firefox Auto Tab Discard

Launch it and select ‘Options’ and modify a few settings regarding discarding inactive tabs and later, save the changes.

Firefox Auto Tab Discard Settings
Firefox Auto Tab Discard Settings

6. Modify Firefox Settings

You might also consider making a few tweaks to the advanced settings in Firefox which are absent in the Options panel. Be sure to make the following changes to speed up your Firefox browser.

So, here are the steps to follow:

  • On the URL bar, browse about:config.

You will get a warning as shown. To proceed, simply click on ‘Accept the Risk and continue’.

Firefox Advanced Preferences
Firefox Advanced Preferences

Set the preference listed below to ‘False’.

browser.download.animateNotifications
Disable Download Notification Animation
Disable Download Notification Animation

Additionally, set this preference to the numerical value ‘0‘.

security.dialog_enable_delay
Firefox Disable Delay on Download
Firefox Disable Delay on Download

Next, type ‘Telemetry‘ in the search field and press ENTER. Then set the following preferences to false.

browser.newtabpage.activity-stream.telemetry
browser.newtabpage.activity-stream.feeds.telemetry
browser.ping-centre.telemetry
toolkit.telemetry.bhrPing.enabled
toolkit.telemetry.archive.enabled
toolkit.telemetry.firstShutdownPing.enabled
toolkit.telemetry.reportingpolicy.firstRun
toolkit.telemetry.hybridContent.enabled
toolkit.telemetry.newProfilePing.enabled
toolkit.telemetry.unified
toolkit.telemetry.shutdownPingSender.enabled
toolkit.telemetry.updatePing.enabled

7. Refresh Firefox

If all else fails, then, consider refreshing your browser. This resets the browser to its default state and allows you to start on a clean slate. Refreshing purges all the preferences including preferences such as add-ons and themes.

To refresh Firefox,

  • Click the three-line menu at the top-right of the screen.
  • Select ‘Help’ then click on ‘More troubleshooting information’.
  • On the right sidebar, click on ‘Refresh Firefox’.
Refresh Firefox Browser
Refresh Firefox Browser

Hopefully, the steps outlined in this tutorial will help improve your browser’s performance and improve the user experience when browsing. Any tips you felt we have left out? We are eager to listen to your feedback in the comment section.

If you read this far, tweet to the author to show them you care. Tweet a thanks
James Kiarie
This is James, a certified Linux administrator and a tech enthusiast who loves keeping in touch with emerging trends in the tech world. When I'm not running commands on the terminal, I'm taking listening to some cool music. taking a casual stroll or watching a nice movie.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

4 thoughts on “7 Ways to Speed Up Firefox Browser in Linux Desktop”

  1. I have the same issue and it appears to be related to a number of tabs open in and/or an extended period with no activity from the internet or user.

    Reply
  2. This article has fixed Firefox clinching. However, my browser freezes now and then. It asks me to restart Firefox. I have no idea why this is happening. Can anyone help with this? I’m running Ubuntu Mate on a 2015 iMac with 16GB ram. If anyone has any ideas, it would be much appreciated. :)

    Great articles. ;)

    Reply
  3. Hello Sir,

    I like your post and it is quite good. Sir i have a query i am running RHEL 6.2 and i am using remi repository and epel also but unable to install firefox 21 on that system because of those dependencies please suggest me something.

    Reply

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.