The forum

Unity launcher as wine instead of the actual opened program

Author Replies
Polynomdivision Thursday 7 February 2013 at 19:24
PolynomdivisionAnonymous

Hi,
I found a workaround for Shortcuts for the Unity launcher because the Unity launcher shows wine instead of the actual opened program.
But I have no Idea how to insert this in the script.
As an example Microsoft Word 2010:

[Desktop Entry]
Encoding=UTF-8
Name=Microsoft Word 2010
Comment=PlayOnLinux
Type=Application
Exec=/usr/share/playonlinux/playonlinux --run "Microsoft Word 2010" %F
Icon=/home/nick/.PlayOnLinux//icones/full_size/Microsoft Word 2010
Name[fr_FR]=Microsoft Word 2010
You have to add this line

StartupWMClass=WINWORD.EXE
So:

[Desktop Entry]
Encoding=UTF-8
Name=Microsoft Word 2010
Comment=PlayOnLinux
Type=Application
Exec=/usr/share/playonlinux/playonlinux --run "Microsoft Word 2010" %F
Icon=/home/nick/.PlayOnLinux//icones/full_size/Microsoft Word 2010
StartupWMClass=WINWORD.EXE
Name[fr_FR]=Microsoft Word 2010
I don't know if you already know this problem but maybe I could help you to improve PlayOnLinux because I love it :D

petch Thursday 7 February 2013 at 20:39
petch


It's fixed in development version, thanks to a patch contributed by Excalibr on IRC.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com