I recently migrated from fedora 10 to Ubuntu 14.04 and believe me it was a real challenge :)
I almost managed to work anything out but only one problem is remaining. in fedora 10 i used to create .sh
file containing commands to be executed in terminal and easily run those by double clicking on .sh
file.
here is the method i was using in fedora:
1- creating a file with gedit
2-typing the command in it
3- chmod u+rwx example.sh
I followed the same method in Ubuntu but it does not work. however the shell file works perfectly when I type sh example.sh
. also I read somewhere to go and allow the file to be executable and choose terminal as a default program for shell script file type, but there is no terminal in that list.