http://bugs.winehq.org/show_bug.cgi?id=26303
Summary: Rayman 2 Demo menu item doesn't work until you remove a backslash Product: Wine Version: 1.3.15 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
ftp://ftp.ubisoft.com/Rayman2/rayman2high.zip (sha1sum 14b2ad6f41e2e1358f3a4a5167d67a7111ea4fb5 ) is a cute little game that works well if you do winetricks-alpha vd=640x480 dinput and run it with wine c:\UbiSoft\Rayman2Demo\Rayman2Demo.exe but it fails if you use the freedesktop.org icon placed on the desktop or in the system menus. The icon target is
env WINEPREFIX="$HOME/.local/share/wineprefixes/rayman2_demo" wine C:\windows\UbiSoft\SetupUbi.exe -play\ Rayman2
That command in a terminal reproduces the error. Removing the backslash between 'play' and 'Rayman2' works around the problem, and lets you start the game from the menus.
And commenting out the line case ' ': in winemenubuilder.c in escape() also works around the bug.
Are there programs that rely on spaces being escaped in fdo desktop entries?