This seems to occur around 50% of the time.
I haven't opened a bug report because I'm not sure if this would be a Wine bug or a WM bug.
The .desktop file is the same in both cases:
Code: Select all
$ cat ~/Desktop/Launch\ SlingPlayer.desktop
[Desktop Entry]
Name=Launch SlingPlayer
Exec=env WINEPREFIX="/home/test/.wine.sling1.5" wine C:\\\\Program\\ Files\\\\Sling\\ Media\\\\SlingPlayer\\\\SlingPlayer.exe
Type=Application
StartupNotify=true
Path=/home/test/.wine.sling1.5/dosdevices/c:/users/test/Desktop/
Icon=BDA8_SlingPlayer.exe11_1A1E3AC99C164779B2618A033937AA5E.0
I have created logs for both cases, one for successfully using the correct icon, and one for failing to do so.
Fail log: http://pastebin.com/RidRBMGr
Success log: http://pastebin.com/WmhkSzF0
Running Ubuntu Precise with Unity 2D.
Anyone any ideas?