Bug 8598 - .desktop-file generator incorrectly handles backslashes
: .desktop-file generator incorrectly handles backslashes
Status: CLOSED NOTABUG
: Sisyphus
(All bugs in Sisyphus/menu)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-12-06 08:14 by
Modified: 2005-12-06 13:47 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-12-06 08:14:49
To actually get a \ in .desktop-file (e.g.

Exec=wine "C:\Program Files\2gis\Nsk\grym.exe"

) one needs to quadro-escape it: \\\\ (e.g. command="wine \"C:\\\\Program
Files\\\\2gis\\\\Nsk\\\\grym.exe\""). Otherwise the resulting .desktop file is
incorrect
------- Comment #1 From 2005-12-06 13:47:48 -------
Это специально сделанная фича для поддержки переноса строки еще со времен MDK.  
Т.е. extra_opt="Terminal=false\\nType=application" будет разворачиваться  
в .desktop с переводом строки.