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:
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?
StartupWMClass
entry to your.desktop
file should fix it. Please refer to this and report back. – pomsky Oct 30 '19 at 06:59