Before, I was using Linux Mint and I can run bash script directly from desktop just with chmod
the script to executable. For example, I have a script like this:
#!/bin/bash
VBoxSDL --startvm virtualmachine
then:
chmod +x myscript
In desktop. I just need to double click the script that I've created.
Now, I'm using Arch Linux with gnome-shell. The same way doesn't work. Instead, double clicking only runs text editor. Right click, too, show only gvim editor to launch the script and open with other applications option which doesn't have run script directly. So, how can I launch the script directly from desktop environtment without terminal?
nautilus
Preferences > Behavior > checkRun executable text files when they are opened
.