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.
For now theme installation is supported for:
You can use Main menu to create a Firefox desktop entry:
New launcher
./browser/chrome/icons/default
select default128.png
.Firefox
as name of the launcher./home/<username>/Apps/firefox/firefox
where the last “firefox” is the run file.on
.Internet
.Save
button in the top bar of the window.Now you need a dot under the Firefox icon when opened in the dock. Edit the desktop entry file:
Desktop Entry
section, for Firefox stable: StartupWMClass=firefox
, for Firefox Beta: StartupWMClass=firefox-beta
for Firefox Nightly: StartupWMClass=firefox-nightly
. Code will automatically save the file so just close all and move the Firefox icon from Slingshot to the Dock and enjoy the fully working and integrated Firefox.❗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.
about:config
you can make the bottom window corners rounded by setting widget.gtk.rounded-bottom-corners.enabled
to true
.usr/share/themes
folder to home/.themes
:
mkdir -p $HOME/.themes
to make the folder.cp -r /usr/share/themes/* $HOME/.themes/
to copy the folder and place the files in the folder you have made.flatpak override --user org.mozilla.firefox --filesystem=$HOME/.themes
to make Flatpak version follow the elementary OS style sheets in the folder.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
To uninstall this theme, do the following:
about:config
in the address bar of Firefox.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:
about:profiles
in the address bar of Firefox and find your profile folder(s).chrome
folder in your profile folder(s).
After this you have completely uninstalled the theme.