I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.
When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".
But when I launch the program, another icon pops up at the bottom, with the name "Nightly".
Best Answer
You need to add a proper
StartupWMClass
line to the.desktop
launcher corresponding to the application (refer to this). Follow these steps:/usr/share/applications
folder. Look for the "Nightly" file (i.e. the launcher for the application you want to fix) and copy it.~/.local/share/applications
. It should look like a file with the name<filename>.desktop
..desktop
file and open with Text Editor.xprop WM_CLASS
in Terminal.WM_CLASS
string for "Nightly" in Terminal.In the
.desktop
file opened in Text Editor add the following lineIn place of
OBTAINED-VALUE
put a value you got from step 6 without any quotes..desktop
file.