2

I've got firefox (from apt) and firefox-nightly (from zip) installed at the same time, with two separate desktop entries.

However, when I launch firefox nightly, it's associated with the wrong launcher icon:

launcher icons

Firefox-nightly has a custom .desktop file with the following:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Exec=/opt/firefox/firefox -P clean %u
Name=Nightly
Comment=Nightly
Terminal=false
Hidden=false
MimeType=x-scheme-handler/unknown;x-scheme-handler/about;x-scheme-handler/https;x-scheme-handler/http;text/html

How does ubuntu decide which applications are running for the purposes of showing in the dock and how do I fix my .desktop entry?

pomsky
  • 68,507

1 Answers1

1

Fix seems to be as described here: https://bugzilla.redhat.com/show_bug.cgi?id=1585369

E.g.

Exec=/opt/firefox/firefox --name Nightly -P clean %u
StartupWMClass=Nightly