7 Ways to Speed Up Firefox Browser in Linux Desktop

[‘

n

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.

n

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

n

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

n

1. Update Firefox

n

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.

n

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.

n

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.

n

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

n

Check Firefox Version
Check Firefox Version

n

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?

n

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.

n

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

n

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.

n

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.

n

Check Firefox About
Check Firefox About

n

2. Enable Hardware Acceleration in Firefox

n

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.

n

To enable hardware acceleration, follow the steps below:

n

    n

  • Browse about:preferences on the URL bar.
  • n

  • Scroll down to the General section and then navigate to Performance.
  • n

  • Uncheck the ‘Use recommended performance settings’ option.
  • n

  • Then check the ‘Use hardware acceleration when available’ setting to enable hardware acceleration.
  • n

n

Enable Firefox Hardware Acceleration
Enable Firefox Hardware Acceleration

n

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

n

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.

n

3. Disable Firefox Data Collection & Use

n

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.

n

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

n

    n

  • Head over to about: preferences.
  • n

  • Proceed to ‘Privacy & Security’xa0and then proceed to ‘Firefox Data Collection and Use’.
  • n

  • Uncheck all the options.
  • n

  • Then restart Firefox.
  • n

n

Disable Firefox Data Collection
Disable Firefox Data Collection

n

4. Free Up Firefox Memory

n

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

n

    n

  • On the URL bar, browse about:memory.
  • n

  • In the ‘Free memory’ section, click on ‘Minimize memory usage’.
  • n

n

Firefox Memory Usage
Firefox Memory Usage

n

This should provide the much-needed boost in speed.

n

5. Manage Firefox Browser Tabs

n

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.

n

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

n

To get the extension, follow these steps:

n

    n

  • Click the three-line menu at the top-right of the screen.
  • n

  • Select Add-ons and themes.
  • n

  • Search for Auto Tab Discard extension and install it.
  • n

n

Firefox Auto Tab Discard
Firefox Auto Tab Discard

n

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

n

Firefox Auto Tab Discard Settings
Firefox Auto Tab Discard Settings

n

6. Modify Firefox Settings

n

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.

n

So, here are the steps to follow:

n

    n

  • On the URL bar, browse about:config.
  • n

n

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

n

Firefox Advanced Preferences
Firefox Advanced Preferences

n

Set the preference listed below to ‘False’.

n

browser.download.animateNotificationsrn

n

Disable Download Notification Animation
Disable Download Notification Animation

n

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

n

security.dialog_enable_delayrn

n

Firefox Disable Delay on Download
Firefox Disable Delay on Download

n

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

n

browser.newtabpage.activity-stream.telemetryrnbrowser.newtabpage.activity-stream.feeds.telemetryrnbrowser.ping-centre.telemetryrntoolkit.telemetry.bhrPing.enabledrntoolkit.telemetry.archive.enabledrntoolkit.telemetry.firstShutdownPing.enabledrntoolkit.telemetry.reportingpolicy.firstRunrntoolkit.telemetry.hybridContent.enabledrntoolkit.telemetry.newProfilePing.enabledrntoolkit.telemetry.unifiedrntoolkit.telemetry.shutdownPingSender.enabledrntoolkit.telemetry.updatePing.enabledrn

n

7. Refresh Firefox

n

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.

n

To refresh Firefox,

n

    n

  • Click the three-line menu at the top-right of the screen.
  • n

  • Select ‘Help’ then click on ‘More troubleshooting information’.
  • n

  • On the right sidebar, click on ‘Refresh Firefox’.
  • n

n

Refresh Firefox Browser
Refresh Firefox Browser

n

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.

n

‘]