I have an application which doesn't come from any Ubuntu repo (neither official, nor PPA) but available as tgz and supposed to be unpacked and ready to use. To be precise it is LightTable.
The problem is the application when launched shows its own icon in Unity Launcher. After making a custom .desktop
file and placing shortcut onto Unity Launcher (by dragging from the dash) and launching it I see two icons - one placed by me and another one with real application.
This is the .desktop
contents:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/LightTable/LightTable
Name=Light Table
Icon=/opt/LightTable/core/img/lticon.png
One more thing. The /opt/LightTable/LightTable
is bash script file and eventually /opt/LightTable/ltbin
is being launched. I think this is the problem but have no idea how to fix the problem.
WM_CLASS(STRING) = "ltbin", "Ltbin"
. I've tried it withStartupWMClass=Ltbin
and it didn't work, but after your answer I triedStartupWMClass=ltbin
and worked like a charm. Thanks again! – igorp1024 Apr 07 '15 at 15:39