Wednesday, May 04, 2016

Touchpad on/off

Having the laptop touch-pad on when I have a mouse is a pain.  I dug through the system to see if there was a setting to turn it off when a mouse was connected, but, I couldn't find it.  I did the next best thing, I create two simple scripts.  One to turn it on and one to turn it off.  The command was synclient TouchPadOff=n where n is 1 for off and 0 for on.  I then created links to the main screen where I can quickly turn it on or off.  Yes, you can do it in one script, but, this was a quick and dirty solution and it works well enough for me.

Scripts for touchpad control

Link on desktop when I turn it on/off

No comments: