April 20, 2015, 08:43:10 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2]
Author Topic: touchpad toggle [solved]  (Read 6390 times)
Posts: 21

« Reply #15 on: August 15, 2011, 05:31:55 am »

Thanks, that did it.

I tried
synclient touchpadoff=0

 that didn't do anything - d'oh

Then I tried

synclient touchpadoff=1
that did the trick.

Thanks roarde and nightflier, I really appreciate your help.

I'd still love to see a simple equivalent to "touchpad toggle" in Vector 7.

which raises the question - will VL7 still work on geriatric hardware, or will it need more advanced hardware?

VL6 is about the only distro I've found that both does what I want, and works at reasonable speed on this celeron 800 with 192 Mb ram.
« Last Edit: August 15, 2011, 05:50:09 am by gizmo » Logged
Posts: 4071

« Reply #16 on: August 15, 2011, 06:10:03 am »

Nice work, gizmo  Smiley
Now that you have synclient working, there are a lot more things you can do with it if you want to experiment.
To disable touchpad entirely: add the line:
Option        "TouchpadOff"        "1"
To the Touchpad section in xorg.conf.

Here is a quick script that you can use to toggle your pad:
# toggle touchpad on or off

tpstatus=$(synclient -l | grep TouchpadOff | awk '{print $3}')
if [ $tpstatus = 0 ];then $(synclient TouchpadOff=1);else $(synclient TouchpadOff=0);fi
Copy the code to a file of your choosing and make it executable.

A script like this will be included in VL7, and yes, it should work on your machine.
« Last Edit: August 15, 2011, 06:26:45 am by nightflier » Logged
Pages: 1 [2]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!