Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save diogosimao/6a1f4b497937eb5236959c479ef2c073 to your computer and use it in GitHub Desktop.
Save diogosimao/6a1f4b497937eb5236959c479ef2c073 to your computer and use it in GitHub Desktop.
How To Install Firefox Developer Edition and create desktop icon

Download

Source to download: link

Install

chose other install way

1. Open Terminal Ctrl+Alt+T Download Firefox Developer Edition tar file

$ wget https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=linux64&lang=en-US

2. Copy tar file to opt

$ sudo cp -rp firefox-35.0a2.en-US.linux-x86_64.tar.bz2

3. Open opt folder (cd /opt/) and untar file

$ sudo tar xjf firefox-35.0a2.en-US.linux-x86_64.tar.bz2

4. Delete tar file

$ sudo rm -rf firefox-35.0a2.en-US.linux-x86_64.tar.bz2

Create icon

  1. Now create new icon for Firefox Developer Edition browser:

     $ sudo chown -R $USER /usr/bin/firefox-dev/
    
  2. Open nano ~/.bashrc

  3. Go to the end of file and paste this line:

    export PATH=/usr/bin/firefox-dev/firefox:$PATH

  4. The last thing we need to do is to create launcher for Unity.

     $ sudo nano /usr/share/applications/FirefoxDeveloperEdition.desktop
    
  5. Paste the lines below into it:

    [Desktop Entry]
    Version=1.0
    Name=Firefox Developer Edition
    GenericName=Web Browser
    Exec=/usr/bin/firefox-dev/firefox
    Terminal=false
    Icon=/usr/bin/firefox-dev/browser/chrome/icons/default/default128.png
    Type=Application
    Categories=Network;WebBrowser;Favorites;
    MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
    X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
  6. Copy icon to Desktop

     $ cp -rp /usr/share/applications/FirefoxDeveloperEdition.desktop /home/$USER/Desktop
    
  7. Do run enable

     $ chmod +x /home/$USER/Desktop/FirefoxDeveloperEdition.desktop
    
  8. Go Desktop and click Firefox Developer Edition 🏁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment