3

I use an application (Simplify3D for example) which is a binary launched by bash script.
The GUI is created by the binary, while the .desktop file points to the script.
For this reason I do have an icon on the Desktop launcher and in the lens, but do not have an icon in the Unity Launcher - just a grey box with a question mark.
How can I make the icon visible in the launcher too?

The .desktop file contents is

[Desktop Entry]
Type=Application
Version=0.9.4
Name=Simplify3D
Comment=Simplify3D Software
Icon=/opt/Simplify3D/icon.png
Exec=/opt/Simplify3D/LaunchScript.sh
Terminal=false
Path=/opt/Simplify3D
StartupWMClass=Simplify3D // That line fixed it

1 Answers1

3

In these "indirect" cases, you have to tell the desktop file what application it is connected to:

Add a line to your .desktop file, like:

StartupWMClass=[your_application] (the binary file in this case)

also pointed out here.

Jacob Vlijm
  • 83,767