Wine apps unpinnable, do not match up with launchers

Bug #667153 reported by AbuMaia
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Docky
New
Low
Unassigned

Bug Description

If I try to add a .desktop launcher for a Wine app to Docky and then click it, when the window opens it adds a second icon for that app to Docky, instead of putting a light under the launcher. So far this has happened with boincview.exe, gsak.exe and utorrent.exe. I was asked to provide the output of " 'ps -ef | grep foo.exe' where foo.exe is the name of the wine executable ":

$> ps -ef | grep utorrent.exe
tardigrade 17379 17350 0 23:51 pts/2 00:00:00 grep --color=auto utorrent.exe

$> ps -ef | grep gsak.exe
tardigrade 17402 17350 0 23:52 pts/2 00:00:00 grep --color=auto gsak.exe

$> ps -ef | grep boincview.exe
tardigrade 17111 1 26 23:44 ? 00:02:11 /home/tardigrade/.wine/drive_c/Program Files/boincview/boincview.exe
tardigrade 17407 17350 0 23:52 pts/2 00:00:00 grep --color=auto boincview.exe

I have tried the instructions on the wiki page about customizing window matching by using StartupWMClass in the .desktop file, to no effect. The WMClass of each app is:

WM_CLASS(STRING) = "boincview.exe", "Wine"
WM_CLASS(STRING) = "gsak.exe", "Wine"
WM_CLASS(STRING) = "utorrent.exe", "Wine"

The .desktop launchers all look like this:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name[en_US]=BoincView
Exec="/home/tardigrade/.wine/drive_c/Program Files/boincview/boincview.exe"
Name=BoincView
Icon=/home/tardigrade/.local/share/icons/boincview.png

I'm running:
Docky 2.1.0, bzr docky r1659 ppa
Ubuntu 10.10
Wine 1.2.1

Robert Dyer (psybers)
Changed in docky:
importance: Undecided → Low
Revision history for this message
AbuMaia (scarabdrowner) wrote :

Changed the 3 launchers to now look like this:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name[en_US]=BoincView
Exec=env WINEPREFIX="/home/abumaia/.wine" wine "C:/Program Files/boincview/boincview.exe"
Name=BoincView
Icon=/home/abumaia/.local/share/icons/boincview.png
StartupWMClass=boincview.exe

Still not working properly. I then placed the launchers in ~/.local/share/applications, then click-dragged those to Docky. Again, still not working properly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.