Configuring Librewolf
2026-05-09 21:17
How I set up my Librewolf browser.
Thanks to Benjamin Brunzel for how to set up the custom CSS, and Michael Kjörling for how to make the scrollbar larger.
Set Librewolf as default browser:
xdg-settings set default-web-browser librewolf.desktop
Set keyboard shortcut
In Debian Xfce, Keyboard --> Application Shortcuts and map exo-open --launch WebBrowser to ALT-W.
Install plugins
- Auto Reader View - In case a website is difficult to read. Styled to how I want to see it.
- Bitwarden Password Manager - Mapped to CTRL-SHIFT-L
- Dark Mode Website Switcher - Mapped to CTRL-SHIFT-D
- Force Dark Mode - Forces dark mode when there is none. Mapped to CTRL-Comma
- Get RSS Feed URL - Sometimes it is hard to find an RSS link. This does it for you.
- Google Sign-in Pop-up Blocker
- News Feed Eradicator - I used Facebook solely for Marketplace. This extension ensures when I log in I don't see anything in the main feed, other than a single nice quote.
- uBlock Origin - Ad blocker. Mapped to CTRL-SHIFT-U
- Vimium - Enables me to do 99% of my browsing from the keyboard.
Keyboard mapping is found in Settings --> Extensions --> Manage Extensions --> Cog wheel --> Manage Extension Shortcuts. I had to remap a couple in my Xfce keyboard application shortcuts that were competing.
Create a custom CSS stylesheet to minimise the toolbar
As per userChrome.org, find your Profile Directory:
Click the menu button --> Help --> More Troubleshooting Information --> Application Basics --> Profile Directory --> Open Directory. Profile directory will open.
Create .../chrome/userChrome.css in the Profile Directory and paste this code (this is exactly from Ben's post):
/* asciijungles's userChrome.css
* write to ~/.config/librewolf/librewolf/{yourProfile}/chrome/userChrome.css
*/
/* hide header tab bar */
#TabsToolbar {
visibility: collapse !important;
}
/* hide huge sidebar header*/
#sidebar-header, #search-box {
display: none!important;
}
#sidebar-header {
display: none !important;
}
/* minimize sidebar splitter */
#sidebar-splitter {
background-color: black!important;
width: 1px!important;
border: 0px!important;
}
Enable the new stylesheet to load on every startup:
about:configuserprof- Switch
toolkit.legacyUserProfileCustomizations.stylesheetsto True.
Make scrollbar bigger, square and always visible
about:config- widget.gtk.overlay-scrollbars.enabled = false
- widget.non-native-theme.gtk.scrollbar.thumb-size = 1
- widget.non-native-theme.scrollbar.style = 4
- widget.non-native-theme.scrollbar.size.override = 20
Other minor changes
- Reload tabs on startup
- Disable ResistFingerprinting to load window at full size on startup
That's the gist of it.