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.

Revisions

  1. emceeaich revised this gist Oct 3, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@ Download nightly for AMD64 Linux

    ```
    $ mkdir /opt/firefoxnightly
    $ tar -xvjf ~/Downloads/firefox-NN.0a1.en-US.linux-x86_64.tar.bz2 /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.

  2. emceeaich created this gist Oct 3, 2019.
    21 changes: 21 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    Adapted from [older instructions](https://blog.nightly.mozilla.org/2016/09/19/getting-firefox-nightly-to-stick-to-ubuntus-unity-dock/).

    Download nightly for AMD64 Linux

    ```
    $ mkdir /opt/firefoxnightly
    $ tar -xvjf ~/Downloads/firefox-NN.0a1.en-US.linux-x86_64.tar.bz2 /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
    ```
    22 changes: 22 additions & 0 deletions nightly.desktop
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    [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