I have .desktop file on my desktop that serves as a launcher for my application. Recently, i changed the command line for that launch and now clicking on the shortcut gives no visible effect.

Here are contents of .desktop file:

[Desktop Entry]

Name=World of Tanks

Exec=sudo -u windows -H env WINEPREFIX="/home/windows/.wine-wot" wine C:\Games\World_of_Tanks\WotLauncher.exe




Command in Exec entry works fine when launched from terminal. Sudo is configured so that no password is required (only for those 2 commands for that user).

What could be the reason for failure to launch via shortcut? How can i try and fix or diagnose this situation?

  • try quoting the path "C:\Games\World_of_Tanks\WotLauncher.exe", or wrapping the command in bash -c "COMMAND GOES 'ERE"
    – Wilf
    Dec 13, 2014 at 20:12

1 Answer 1


Try quoting the path - e.g:


you can also try wrapping the command in:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.