Author(s)
aier
Author(s)
aier
Tips
This guide will walk you through a few changes you can make to your user.js
that will make your Firefox-based experience of Linux much more polished.
This is what your user.js
would look like if you decide to apply all tweaks mentioned in this guide. The following user.js
contains all modifications mentioned in this guide.
// Scrolling
user_pref("mousewheel.default.delta_multiplier_x", 200); // 100
user_pref("mousewheel.default.delta_multiplier_y", 200); // 100
user_pref("mousewheel.default.delta_multiplier_z", 200); // 100
user_pref("general.autoScroll", true); // false
user_pref("apz.fling_friction", "0.005"); // "0.002"
user_pref("apz.gtk.pangesture.delta_mode", 2); // 0
user_pref("apz.gtk.pangesture.pixel_delta_mode_multiplier", "7"); // "40.0"
user_pref("apz.overscroll.enabled", true); // true, for linux
// Other Settings
user_pref("browser.tabs.hoverPreview.enabled", true); // false
// Zen Browser–specific settings
user_pref("zen.glance.activation-method", "alt"); // "ctrl"
user_pref("zen.splitView.change-on-hover", true); // false
user_pref("zen.tabs.vertical.right-side", true); // false
user_pref("zen.view.compact.hide-toolbar", true); // false
user_pref("zen.view.compact.toolbar-flash-popup", false); // false
user.js
config fileCreate a user.js
by 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.js
if it does not exist already. You can append changes from this guide into user.js
.
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.
Improving Scrolling
Many Firefox users (us included), feel that the Firefox default scrolling is quite slow on the mousewheel, or too fast on the trackpad, or not smooth enough, or not dynamic enough.
However you want your scrolling, hopefully you can customize the options we'll provide you to suit your needs.
The mousewheel scrolling is too slow for our suiting, we can adjust this with the mousewheel delta multiplier.
user_pref("mousewheel.default.delta_multiplier_x", 200); // 100
user_pref("mousewheel.default.delta_multiplier_y", 200); // 100
user_pref("mousewheel.default.delta_multiplier_z", 200); // 100
The default values of different flavors of Firefox may differ, but on default Firefox it is 100, and it tends to be quite slow. 200 fits our needs.
You may want to enable middle mouse button scrolling a.k.a. autoscroll (it is disabled on Linux by default).
user_pref("general.autoScroll", true); // false
The touchpad scrolling tends to be way too fast on Linux, let's slow it down and make it more similar to what we'd find on Windows or Mac.
user_pref("apz.fling_friction", "0.005"); // "0.002"
user_pref("apz.gtk.pangesture.delta_mode", 2); // 0
user_pref("apz.gtk.pangesture.pixel_delta_mode_multiplier", "7"); // "40.0"
user_pref("apz.overscroll.enabled", true); // true, for linux
user_pref("browser.tabs.hoverPreview.enabled", true); // false
If you are using Zen Browser, you can check out these settings:
user_pref("zen.glance.activation-method", "alt"); // "ctrl"
user_pref("zen.splitView.change-on-hover", true); // false
user_pref("zen.tabs.vertical.right-side", true); // false
user_pref("zen.view.compact.hide-toolbar", true); // false
user_pref("zen.view.compact.toolbar-flash-popup", false); // false
8b341
-Remove co-author card from Firefox user.js guideon e2f6b
-Refactor guide authorship sections: update titles from "Maintainer" to "Author(s)" and "Contributors" to "Co-author(s)" across multiple guideson daeb8
-Enhance documentation by adding missing line breaks, updating demo wrappers to include images, and refining contribution guidelines for clarity and consistency.on 686d1
-Enhance formatting and clarity in Firefox user.js and Terminal customization guideson 357ef
-Consistency fixon 0e14f
-Added contributors to blogson 573fd
-Tagging/untagging.on 62c4b
-Automating steps.on 731c5
-Microtweakson 0ed49
-Mass renamingon 41f78
-deleting legacy metadataon 25920
-Restructuringon 64610
-Notes and sidebar work nowon d95ee
-Notes & sidebard don't work for some reason...on a154c
-testing sidebar generationon 78ee4
-typoon 63f60
-Draft ongoingon fb788
-under-construction addedon ac353
-v1on 85907
-Better lookson 718fb
-Aesthetic changeson