term vs .desktop Corrected

Ralf Mardorf silver.bullet at zoho.com
Mon Aug 20 14:43:31 UTC 2018


On Mon, 20 Aug 2018 23:01:20 +1000, Karl Auer wrote:
>On Mon, 2018-08-20 at 13:32 +0100, Grizzly via ubuntu-users wrote:
>[snip]
>Also, are you really using backslashes?
>[snip]
>Or run it in bash and redirect output: [snip]

Full ACK, however, since desktop files could be picky regarding
executed commands, I execute a script for an app running under wine, so
if needed, it's easy to edit the script, instead of experimenting with
"Exec" of a desktop file.

I don't use backslashes.


$ cat /usr/share/applications/gr-55_floorboard_wine.desktop 
[Desktop Entry]
Name=GR-55 FloorBoard Wine
Exec=gr-55_floorboard_wine
Icon=/opt/gr-55_floorboard/images/windowicon.png
Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack;Qt;
Terminal=false
Type=Application
X-Window-Icon=/opt/gr-55_floorboard/images/windowicon.png


$ cat /usr/local/bin/gr-55_floorboard_wine 
#!/bin/dash
wine '/home/rocketmouse/.wine/drive_c/Program Files (x86)/GR-55FloorBoard/GR-55FloorBoard.exe' &
exit





More information about the ubuntu-users mailing list