I think synclient is the way to go.
You need to use command
Code:
synclient TouchpadOff=1
as Enables is 1 and Disables is 0 for TouchpadOff. This may seem the opposite of what is needed but don't forget the command is a negative, ie TouchpadOff.
If you should need to turn the pad back on again it's simply
Code:
synclient TouchpadOff=0
.
You could easily make these commands either into shell scripts, make them executable, and run them by double clicking, or you can add aliases in your hidden .bashrc file by adding the lines
Code:
alias tpon='synclient TouchpadOff=0'
alias tpoff='synclient TouchpadOff=1'
then you can turn it on and off by using tpon or tpoff in terminal.
Bookmarks