Version: (using KDE 4.0.5) Installed from: Fedora RPMs I have an .desktop-File with a Path-Entry (Arbeitsverzeichnis in german). If i start the program in Konsole with: cd [Path-Entry] startProgram all is OK if i have the same entries in the .desktop-File the start is broken. The same configuration under KDE 3.5.9 works! My .desktop-File for this windows-program: http://www.suuntosports.com/mysuunto/downloads/SDM16.exe [Desktop Entry] Comment[de]=DiveManager Comment=DiveManager Encoding=UTF-8 Exec='/usr/bin/wine' sdm.exe GenericName[de]= GenericName= Icon= MimeType= Name[de]=DiveMan Name=DiveMan Path[$e]=$HOME/.wine/drive_c/Program\\ Files/SDM StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-StartupType= X-DCOP-ServiceType= X-KDE-SubstituteUID=false X-KDE-Username=
not sure why it worked with kde 3, but the backslashes are just wrong.
i've tried Path[$e]=$HOME/.wine/drive_c/Program\\ Files/SDM Path[$e]=$HOME/.wine/drive_c/Program Files/SDM whitout the backslashes Path[$e]=$HOME/.wine/drive_c/Program\ Files/SDM like a cd generates in Konsole Path[$e]=$HOME/.wine/drive_c/'Program Files'/SDM Path[$e]=$HOME/.wine/drive_c/"Program Files"/SDM Path[$e]=$HOME/.wine/drive_c/"Program\ Files"/SDM Path[$e]=$HOME/.wine/drive_c/"Program\\ Files"/SDM and least i tried a softlink "ProgramFiles" to the directory "Program Files" Path[$e]=$HOME/.wine/drive_c/ProgramFiles/SDM Because no one works, i came to the conclusion, that the Path-Entry is ignored ...
ok, expansion doesn't work in desktop files, indeed. if you try to read a desktop file with kreadconfig, it returns the right value, though. strange ...
fixed for kde 4.1 and 4.0.6.