Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active March 5, 2024 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plembo/a8d7c76e469ce6b9feccbe19ab253f69 to your computer and use it in GitHub Desktop.
Save plembo/a8d7c76e469ce6b9feccbe19ab253f69 to your computer and use it in GitHub Desktop.
firefox new install customization checklist desktop (linux)

Firefox on Desktop new install checklist (Linux)

Installation

The following procedure was tested with Firefox 120.0.1 (64-bit) on Ubuntu 22.04 LTS running the default Gnome desktop.

For Linux desktops (and laptops) I install Firefox to /opt/firefox by downloading and extracting the latest binary package from Mozilla to /opt/firefox (tar xjf firefox-120.0.1.tar.bz2; sudo mv firefox /opt/; chown -R root:staff /opt/firefox). Once extracted, I make a symlink from /opt/firefox/firefox to /usr/local/bin/firefox. I then create a file for the desktop shortcut:

/usr/share/applications/firefox.desktop

[Desktop Entry]
Version=1.0
Name=Firefox Web Browser
Comment=Browse the World Wide Web
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true

Post install customization

After installation, I usually make the following changes in the browser's Settings:

  1. Make Firefox the default browser
  2. Import Browser Data: bookmarks only (usually from an HTML bookmarks backup)
  3. Replace your existing user.js with that from "Betterfox" [1]
  4. Website appearance: Dark
  5. Home: set a custom URL as the homepage, set new tabs to Blank Page
  6. Firefox Home Content: uncheck all
  7. Search: set Default Search Engine to DuckDuckGo
  8. DNS over HTTPS: If desktop at home, turn Off to use system DNS resolver(s), if a laptop set to "Default Protection"
  9. Sync: set up sync for bookmarks only and turn on
  10. Themes: Dark
  11. Install extensions: uBlock Origin, Bitwarden

[1] "Betterfox" provides a consistent approach to improving Firefox privacy and performance via a customized user.js file. Yokoffing. Betterfox [Software]. GitHub, https://github.com/yokoffing/Betterfox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment