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
cat 'yourFile'.desktop
– Boris Aug 04 '14 at 11:53