Skip to content

Instantly share code, notes, and snippets.

@hashhar
Last active October 6, 2020 14:14
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 hashhar/cc8086db7c4097d8ee93587683d6749d to your computer and use it in GitHub Desktop.
Save hashhar/cc8086db7c4097d8ee93587683d6749d to your computer and use it in GitHub Desktop.
Firefox Nightly Setup

Firefox Nightly Setup on Linux

Download latest Firefox Nightly build from here.

Once downloaded, extract to some location.

cd Downloads
sudo chown -R $USER:$USER /opt
tar -xvf firefox-xxx.tar.bz2 -C /opt

Create Firefox launcher files at /usr/share/applications/nightly-default.desktop as:

[Desktop Entry]                                                                                                                                 
Version=1.0
Name=Firefox Nightly (Default)
Comment=Browse the World Wide Web
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Exec=/opt/firefox/firefox -P default %u
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
Actions=Default;Office;ProfileManager;
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer;
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
StartupWMClass=Nightly

X-Desktop-File-Install-Version=0.22

[Desktop Action Default]
Name=Default Profile
Exec=/opt/firefox/firefox -no-remote -P default

[Desktop Action Office]
Name=Office Profile
Exec=/opt/firefox/firefox -no-remote -P office

[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefox/firefox -no-remote -profile-manager

Create another launcher with different profile at /usr/share/applications/nightly-office.desktop:

[Desktop Entry]
Version=1.0
Name=Firefox Nightly (Office)
Comment=Browse the World Wide Web
Icon=/usr/share/icons/hicolor/128x128/apps/firefox.png
Exec=/opt/firefox/firefox -P office %u
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
Actions=Default;Office;ProfileManager;
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer;
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
StartupWMClass=Nightly

X-Desktop-File-Install-Version=0.22

[Desktop Action Default]
Name=Default Profile
Exec=/opt/firefox/firefox -no-remote -P default

[Desktop Action Office]
Name=Office Profile
Exec=/opt/firefox/firefox -no-remote -P office

[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefox/firefox -no-remote -profile-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment