Ubuntu – Firefox developer edition icon duplication in Gnome shell


After installing Firefox Developer Edition using the Aurora PPA method on 16.04 I dragged the icon from Activities to the launcher sidebar for handy access. But when I click that I get a 2nd firefox icon appear in the sidebar:


And every time I click the icon I added I get a new window. How can I get it to behave normally (i.e. when clicked it would display an already running firefox, or if there isn't one, start one)?

Best Answer

My Solution is to edit the firefox-dev.desktop file, adding --class FirefoxDev to the Exec command and StartupWMClass=FirefoxDev as a new line.

The advantage of this one is that Firefox and Firefox Developer Edition will no longer share one icon if both are installed.