Het forum

Unity launcher as wine instead of the actual opened program

Auteur Antwoorden
Polynomdivision Donderdag 7 Februari 2013 om 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 Donderdag 7 Februari 2013 om 20:39
petch
Developer


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