I have created some simple scripts which just toggle something. This doesn't need to be displayed but every time I click on the created shortcut (.desktop file) the X Terminal window appears with a never ending loading animation icon. If I press on the tab button on the upper left side the window will be closed. Is it possible to prevent this annoying behaviour? I have already added "exit 0" at the end of the scripts but it didn't help.
Thanks
Thanks