Skip to content

Instantly share code, notes, and snippets.

@jaywink
Last active April 1, 2019 11:08
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jaywink/b7a0d43881757644c5aa to your computer and use it in GitHub Desktop.
Save jaywink/b7a0d43881757644c5aa to your computer and use it in GitHub Desktop.
Firefox Developer Edition (or any edition), separate Unity launcher icon (Ubuntu 14.04)
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Firefox Developer Edition
Icon=/home/user/Apps/firefox/browser/icons/mozicon128.png
Path=/home/user/Apps/firefox
Exec=/home/user/Apps/firefox/firefox --class="firefox-developer" -P dev-edition-default %u
StartupNotify=true
StartupWMClass=firefox-developer
X-UnityGenerated=false
Actions=NewWindow;NewPrivateWindow;
Categories=GNOME;GTK;Network;WebBrowser;
Terminal=false
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;
[Desktop Action NewWindow]
Name=Open a New Window
Path=/home/user/Apps/firefox
Exec=/home/user/Apps/firefox/firefox -new-window --class="firefox-developer" -P dev-edition-default
OnlyShowIn=Unity;
[Desktop Action NewPrivateWindow]
Name=Open a New Private Window
Path=/home/user/Apps/firefox
Exec=/home/user/Apps/firefox/firefox -private-window --class="firefox-developer"
OnlyShowIn=Unity;
# Change paths to match your username and location of firefox edition
# TODO: fix icon size :)
# To see shortcut in dash, relogin
@jaywink
Copy link
Author

jaywink commented Nov 12, 2014

@cvetan
Copy link

cvetan commented Mar 25, 2017

When i click open new window. It opens new tab with http://www.dev-edition-default.com/ address which leads to nowhere.

@gnrdeepak
Copy link

I tried the steps. However, I still do not get a distinct icon for firefox developer edition.

@gnrdeepak
Copy link

Apologize. Restart fixed it.

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