gapan / xdgmenumaker

A command line tool that generates XDG menus for several window managers
GNU General Public License v3.0
57 stars 15 forks source link

Some wine program not started from menu #31

Open Pro-pra opened 2 months ago

Pro-pra commented 2 months ago

Example:

[Desktop Entry]
Name=2GIS
Exec=env WINEPREFIX="/home/someone/.wine/dosdevices/d:/.wine" wine C:\\\\users\\\\someone\\\\AppData\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\2GIS\\\\2GIS.lnk
Type=Application
StartupNotify=true
Path=/home/someone/.wine/dosdevices/c:/Program Files (x86)/2gis/3.0/
Icon=7A43_grym.0
StartupWMClass=grym.exe

we need use sed '/.*WINEPREFIX.*/ s/\\\\\ /\\\ /g' My example: xdgmenumaker -nif icewm | sed '/.*WINEPREFIX.*/ s/\\\\\ /\\\ /g'

gapan commented 2 months ago

Isn't that a problem with the original .desktop file and not with xdgmenumaker?

Pro-pra commented 2 months ago

i don't know, may be.

gapan commented 2 months ago

Do you know if the same app launches from the menu in one of GNOME, KDE, Xfce, MATE, LXQt, LXDE?

Pro-pra commented 2 months ago

no. i have bad desktop file example, and inform developer. If i use icewm-menu for generate, i have no troubles.