Skip to content

Instantly share code, notes, and snippets.

@emceeaich
Last active October 4, 2019 08:02
Show Gist options
  • Save emceeaich/b5cf60ec3f3fa01a49a420d59c6a6a89 to your computer and use it in GitHub Desktop.
Save emceeaich/b5cf60ec3f3fa01a49a420d59c6a6a89 to your computer and use it in GitHub Desktop.
Set up nightly in the Unity Bar on Ubuntu

Adapted from older instructions.

Download nightly for AMD64 Linux

$ mkdir /opt/firefoxnightly
$ sudo chown -R $USER:$USER /opt/firefoxnightly
$ tar -xvjf ~/Downloads/firefox-NN.0a1.en-US.linux-x86_64.tar.bz2 -C /opt/firefoxnightly

Create nightly.desktop in home directory.

Validate file

$ desktop-file-validate nightly.desktop

Install with

$ desktop-file-install --dir=.local/share/applications nightly.desktop
[Desktop Entry]
Version=1.0
Name=Nightly
Comment=Firefox Nightly
Icon=/opt/firefoxnightly/firefox/browser/chrome/icons/default/default128.png
Exec=/opt/firefoxnightly/firefox/firefox %u
Terminal=false
Type=Application
Categories=Network;WebBrowser
Actions=Default;Testing;ProfileManager;
[Desktop Action Default]
Name=Default Profile
Exec=/opt/firefoxnightly/firefox/firefox --no-remote
[Desktop Action Testing]
Name=Testing Profile
Exec=/opt/firefoxnightly/firefox/firefox --no-remote -P minefield-testing
[Desktop Action ProfileManager]
Name=Profile Manager
Exec=/opt/firefoxnightly/firefox/firefox --no-remote --profile-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment