Im trying to bind a script i wrote (copied) as a keyboard shortcut. I wrote a script in bash that would enabled/disable my touchpad and called it touchpadt.sh.
when i run the script on the terminal directly it works good: Terminal shot
however i try to bind a keyboard shortcut through the keyboard options in system settings and i cant seem to insert the right data for the binding. there are 2 fields to fill - Name & Command: binding command
what should i write in the "command" box, and where should i store the code? also how can i restrict the usage of this command only to registered users? - so that guests for example will not be able to use it (i used -x permission, but i dont really know what it means)
Thanks in advance.