Firefox Advanced Settings Tweaks (user.js)
Tips
This preset has a few changes you can make to your user.js that will make your Firefox-based experience on Linux much more polished.
Master Quick Append
Copy the whole thing, or pick out the lines you want. Each line has a short comment explaining what it does; the value after // is the default.
// Mouse Scrolling
user_pref("mousewheel.default.delta_multiplier_x", 200); // 100 — mousewheel speed (higher = faster)
user_pref("mousewheel.default.delta_multiplier_y", 200); // 100
user_pref("mousewheel.default.delta_multiplier_z", 200); // 100
user_pref("general.autoScroll", true); // false — middle-click autoscroll (off on Linux by default)
// Touchpad Scrolling
user_pref("apz.fling_friction", "0.004"); // "0.002" — trackpad scroll drag (higher = stops sooner)
user_pref("apz.gtk.pangesture.delta_mode", 2); // Default 0. 2 respects display scaling
// Touchpad speed — prefer a system-wide fix instead
// user_pref("apz.gtk.pangesture.pixel_delta_mode_multiplier", "7"); // Default "40.0". Trackpad-only speed
// Other Settings
user_pref("browser.tabs.hoverPreview.enabled", true); // false — show tab preview on hover
user_pref("browser.tabs.hoverPreview.showThumbnails", true); // false — include a thumbnail in that preview
// Zen Browser–specific settings
user_pref("zen.workspaces.separate-essentials", false); // true — share essentials across all workspaces
// user_pref("zen.view.show-newtab-button-top", false); // true — move new-tab button to top of tab list
user_pref("browser.tabs.fadeOutUnloadedTabs", true); // false — dim inactive/unloaded tabsPrefer a system-wide touchpad fix
Adjusting touchpad scroll speed at the system level applies everywhere, not just in Firefox (usually the better option). See the touchpad scrolling sensitivity fix on our External Resources page. The commented apz.gtk.pangesture.* lines are only for tweaking trackpad behaviour inside Firefox specifically.
Flatpak Zen
If you installed Zen via Flatpak, its profile folder isn't reachable from about:support. Find it (and place your user.js) under ~/.var/app/app.zen_browser.zen/.zen/XXXXX/, where XXXXX is your profile ID.
How to append changes
Method 1: user.js config file (faster)
Create a
user.jsby typing "about:support" into your browser and clicking "Open Directory" in the Profile Directory row.
Inside your profile folder, you can create a file named
user.jsif it does not exist already. You can append changes from this guide intouser.js.
Method 2: "about:config"
Type in "about:config" into your browser and you'll be taken to the Firefox advanced preference page. Press "Accept risk and continue".

You can then type in the search bar the preference mentioned in the guide, edit the values of the preference, and create the reference if it doesn't exist.
Contributors
Changelog
852ba-user.js simplification and readded missing show thumbnail key in the master quick append.onaf775-update Firefox user.js settings and remove Kando integration staron19622-batch grammar fix (en_gb)on59254-Add Flatpak Zen profile-path warning to user.js guide.on600be-New tabs in Zen to the bottom.on90fcc-Updating suggestions for Firefox and Zen Browser to be more up to date with newer releases and the added Gnome touchpad scrolling resource on the wiki.on31202-Added tagon00c9a-#39 Reformat project so each markdown file has their own asset subfolder in the public asset folder.on2348f-Grammatical adjustmentsonb7cae-Grammatical correctionson54c8f-Restructuring for better asset management.on5810a-Cleaner way of displaying contributors in articles.on26c5a-Restructuring tags.ond4310-Workspace independent essentials for Zen Browser users.oneebdc-Updating settings.on0ab32-Consistent heading stylingon0228f-Refactor documentation for improved clarity and consistency in formattingon6f292-Enhance markdown formatting for consistency across documentationon46131-Implement code changes to enhance functionality and improve performanceonb8933-Using fewer tags for better tag sorting.on8b341-Remove co-author card from Firefox user.js guideone2f6b-Refactor guide authorship sections: update titles from "Maintainer" to "Author(s)" and "Contributors" to "Co-author(s)" across multiple guidesondaeb8-Enhance documentation by adding missing line breaks, updating demo wrappers to include images, and refining contribution guidelines for clarity and consistency.on686d1-Enhance formatting and clarity in Firefox user.js and Terminal customization guideson357ef-Consistency fixon0e14f-Added contributors to blogson573fd-Tagging/untagging.on62c4b-Automating steps.on731c5-Microtweakson0ed49-Mass renamingon41f78-deleting legacy metadataon25920-Restructuringon64610-Notes and sidebar work nowond95ee-Notes & sidebard don't work for some reason...ona154c-testing sidebar generationon78ee4-typoon63f60-Draft ongoingonfb788-under-construction addedonac353-v1on85907-Better lookson718fb-Aesthetic changeson