I want to run a shell script. Its a .sh-file. If i make double click, it opens the file in gedit. I know how to execute it in the terminal, but thats a huge way to get every time in the right directory and find the right path. If i make the check in the properties of the file "Run executable files when they are opened." it changes nothing. It opens still in gedit and i dont know how to change it. I tried it with the ubuntu tweak tool, but i cant delete the default opener of this filetype. Its not especially one file, its the whole filetype.
Asked
Active
Viewed 2,997 times
1 Answers
0
You want to run script from a folder, right? In that case you need to open file manager, go to Edit drop-down menu -> properties -> behavior, and check "Run executable files when they are opened." But pay attention, if a script doesn't call for an xterm or anything like that to open, you won't see the script running step by step
Sergiy Kolodyazhnyy
- 107,582