I have this launcher I created with a quicklist full of options to execute different applications. One of the options is TeamViewer and this is the quicklist code for it:
[Desktop Action fav-teamviewer]
Name=TeamViewer
Exec=/opt/teamviewer9/tv_bin/script/teamviewer
OnlyShowIn=Unity
This works perfectly, but what if I wanted to execute the "teamviewer.desktop" file directly? Something like this...
[Desktop Action fav-teamviewer]
Name=TeamViewer
Exec=/usr/share/applications/teamviewer.desktop
OnlyShowIn=Unity
I've tried it, but it won't work. Why is it not working? Am I doing it wrongly or is it impossible to be done?
The reason I want to do it is that if I run TeamViewer normally, from the Dash, its icon on the Launcher is perfect (first image); but if I run it from that quicklist option, it loses its default icon and gets the generic Wine application icon (second image). Please, see screenshots for a better understanding.
I hope you can help me. Thanks for your attention.
Exec=gtk-launch teamviewer.desktop /usr/share/applications
Instead ofExec=/usr/share/applications/teamviewer.desktop
To launch desktop file.