elementaryos-firefox-theme

An elementary OS theme for Firefox

Screenshot

🙏 Credits

Credits to Harvey Cabaguio for setting the theme up, Pasha Semenov, Ryo Nakano and Neville Park for the install script and the elementary OS team for the UI design and icons.

⬇️ Install

For now theme installation is supported for:

  1. 🦊 Firefox 📦 Flatpak version Install in AppCenter.
  2. 🐺 Librewolf 📦 Flatpak version Install in AppCenter.
  3. 🦊 Firefox ⬇️ ESR Install in Terminal read instructions in the link.
  4. 🦊 Firefox 📦 download package Download package and follow instructions below to create a desktop entry.

You can use Main menu to create a Firefox desktop entry:

Now you need a dot under the Firefox icon when opened in the dock. Edit the desktop entry file:

For other versions of Firefox, like Tor Browser for example, the theme needs to be installed manually. We welcome contributions like editing a userChrome, for example to make a fully supported other version possible. Thanks in advance.

Use this one line install script. Just copy the line to your terminal and press enter. When you want a different window control layout, use Pantheon Tweaks first to select one, after that this script will automatically install the right userChrome:

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh")

To force installation of Titlebar Enabled Theme, use script below:

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --native-titlebar yes

Installation script will also patch Firefox preference to enable native titlebar usage. Firefox doesn’t use native titlebar by default.

To force installation of Private Mode Style, use script:

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --private-mode-style

This will make purple colors of Private Mode as default style.

✅️ After installation

  1. In the customization panel in Firefox you can move the new tab button to the left. The default is System theme, you can also use the Dark theme option but Light theme is not supported.
  2. In about:config you can make the bottom window corners rounded by setting widget.gtk.rounded-bottom-corners.enabled to true.
  3. If you installed the Flatpak version of Firefox and you want to make use of the elementary OS accent colors, you have to copy the usr/share/themes folder to home/.themes:
    • Type or copy-paste in Terminal mkdir -p $HOME/.themes to make the folder.
    • Then type cp -r /usr/share/themes/* $HOME/.themes/ to copy the folder and place the files in the folder you have made.
    • And after that flatpak override --user org.mozilla.firefox --filesystem=$HOME/.themes to make Flatpak version follow the elementary OS style sheets in the folder.

🔁 Update

To update installed theme, use script

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --update

❎️ Uninstall this theme

To uninstall this theme, do the following:

  1. Type about:config in the address bar of Firefox.
  2. Search for toolkit.legacyUserProfileCustomizations.stylesheets and put it on false. Then restart the browser: the browser does not show the theme anymore.

You can now delete the chrome folder(s) by doing the following:

  1. Type about:profiles in the address bar of Firefox and find your profile folder(s).
  2. Delete the chrome folder in your profile folder(s). After this you have completely uninstalled the theme.