Logo

dev-resources.site

for different kinds of informations.

Firefox "about:config" Flags That I Like ๐Ÿ”ฅ๐ŸฆŠ

Published at
7/17/2024
Categories
productivity
linux
firefox
performance
Author
kj_sh604
Author
8 person written this
kj_sh604
open
Firefox "about:config" Flags That I Like ๐Ÿ”ฅ๐ŸฆŠ

UPDATED [11/17/2024]: added new flags

ย 

This article was originally posted on my ad-free blog. For more content, including extra downloadables and resources, visit my website for more good reads.

ย 

Here are some Firefox about:config flags that I have enabled. Most of these are for hardware video acceleration on Linux and personal "web viewing" preferences. Hope that some of you find them useful as well.

Hardware Video Acceleration for Linux

Option Value
gfx.webrender.all true
gl.require-hardware true
layers.acceleration.force-enabled true
media.av1.enabled false
media.ffmpeg.vaapi.enabled true
media.hardware-video-decoding.enabled true
media.hardware-video-decoding.force-enabled true
media.rdd-ffmpeg.enabled true
media.rdd-ffvpx.enabled true
media.rdd-vpx.enabled false
media.utility-ffmpeg.enabled true
widget.wayland-dmabuf-vaapi.enabled true

The following is specifically for Nvidia Machines using libva-nvidia-driver (from elFarto/nvidia-vaapi-driver)

Option Value Reason
gfx.x11-egl.force-enabled true Required, this driver requires that Firefox use the EGL backend. It may be enabled by default. It is recommended to test it with the MOZ_X11_EGL=1 environment variable before enabling it in the Firefox configuration.
widget.dmabuf.force-enabled true Required on NVIDIA 470 series drivers, and currently REQUIRED on 500+ drivers due to a Firefox change. Note that Firefox isn't coded to allow DMA-BUF support without GBM support, so it may not function completely correctly when it's forced on.

ย 

Compact Mode Interface

Option Value
browser.compactmode.show true

ย 

Faster Content Painting

I prefer web pages to "paint" as early as it can, even if I am going to see some page breakage initially. I don't recommend this if you like good UX.

Option Value Comment
content.notify.backoffcount 5 This can be kept at the default value (-1), but I've just always had it at 5
nglayout.initialpaint.delay_in_oopif 0
nglayout.initialpaint.delay 0

Firefox 130+ Disable Tab Hover Behaviour

Option Value
browser.tabs.hoverPreview.enabled false
browser.tabs.hoverPreview.showThumbnails false

Force System Emoji Font on Linux ๐Ÿ™‚๐Ÿง

Option Value Comment
font.name-list.emoji emoji default value is Twemoji Mozilla
(if things break for some reason)
gfx.font_rendering.fontconfig.max_generic_substitutions 127
gfx.font_rendering.opentype_svg.enabled false

These flags disable the usage of the built-in Twemoji Mozilla Emoji font.

(workaround retrieved from Archwiki - Firefox#Font troubleshooting)

Linux Mouse Cursor Compatibility

Option Value
widget.gtk.legacy-cursors.enabled true

this flag enables the utilization of all legacy/fallback xcursors on Linux, which is useful on a very minimal Linux install that doesn't have the adwaita-cursor-theme installed.

(enabling this flag does not affect the default behaviour, if you **do* have an xcursor theme installed)*

firefox Article's
30 articles in total
Favicon
Meet Tab-R: My New Browser Extension
Favicon
Request Aborted (NS_BINDING_ABORT) In Firefox but working in remaining browsers
Favicon
5 effektive Methoden, um Bilder aus Webseiten zu extrahieren
Favicon
How to Perform Firefox Mobile Testing? (Step-by-Step Guide)
Favicon
Wormhole Proxy (Firefox Add-on) - single-list proxy manager
Favicon
RemoveCookieWall, una extension de Firefox
Favicon
Deploy firefox as container
Favicon
hello, maybe i am back for a while
Favicon
[firefox] show tabs in full-screen mode
Favicon
Firefox "about:config" Flags That I Like ๐Ÿ”ฅ๐ŸฆŠ
Favicon
How To Speed Up Selenium Test Cases?
Favicon
GitHub Sponsors: Oliver Blanthorn main developer of Tridactyl
Favicon
Browser Extensions for 2024
Favicon
Remote debugging using Firefox on Android devices with Windows
Favicon
Firefox css: restyle the active tab handle
Favicon
Captcha Solving Extension For Chrome, Mozilla Firefox
Favicon
Discord in Firefox, with themes, plugins and RPC for free
Favicon
6 Best Firefox Alternatives 2024
Favicon
Firefox Shortcuts: Enhance Your Browsing Experience
Favicon
I'm not guilty it's firefox!
Favicon
How to make CSS :has() pseudo-class work on Firefox
Favicon
RES-like script that allows you to navigate Lemmy with your keyboard
Favicon
Firefox: Windows and Tabs
Favicon
Firefox DE...we're back together!...for a weird reason
Favicon
Firefox form auto-fill
Favicon
Dear Mozilla, we have to talkโ€ฆ
Favicon
ๅฆ‚ไฝ•ๅœจ elementary OS ๅฎ‰่ฃ Firefox Beta
Favicon
Fix 403 Forbidden error on Mozilla in Minutes
Favicon
Unlock the Sidebar Width in Firefox
Favicon
How to Fix โ€œSecure Connection Failedโ€ Error in Firefox

Featured ones: