http://askubuntu.com/questions/465531/how-to-make-a-shell-file-execute-by-double-click
To run your script by double clicking on its icon, you will need to create a
Save the above as a file on your Desktop with a Specifically, for your situation, you need to do:
|
http://forum.ubuntu.org.cn/viewtopic.php?p=1861292
Thread: Opening .sh files with double click?
-
August 28th, 2014#15 Cups of Ubuntu
- Join Date
- Aug 2014
- Beans
- 20
Opening .sh files with double click?
I just install PyCharm on ubuntu 14 and by default when i double click it opens the .sh file with gedit. How could I make it to just run the program when i double click?
-
August 28th, 2014#2
Re: Opening .sh files with double click?
To run executable files from Nautilus (Files) go to the Edit menu and select Preferences->Behaviour, and under Executable Text Files select Ask each time
-
August 28th, 2014#3
Re: Opening .sh files with double click?
Of course this only works if your script IS executable, check in the files properties.
Catch me on Freenode - imark -