Saturday, January 15, 2011

UBUNTU 101 : How To Run scripts .sh

# save my code in your home directory
(/home/joe/MyScripts/tap_enable.sh),

# set it to executable

##  (nautilus or

### chmod a+x /home/joe/MyScripts/tap_enable.sh

# try to run it from the shell:
./home/joe/MyScripts/tap_enable.sh


# If it works go to system > preference > Keyboard Shortcut + click add give+  a name and full path (/home/joe/MyScripts/tap_enable.sh)
# and bind it to a key.
#this should do it