Disable laptop touchpad
Reinhold Rumberger
rrumberger at web.de
Mon Feb 1 17:36:11 UTC 2010
Am Montag 01 Februar 2010 schrieb Neil Winchurst:
> Mike McGinn wrote:
> > On Monday 01 February 2010 10:57:34 Jonas Norlander wrote:
> >> There usually is an option in the BIOS to enable or disable the
> >> touchpad. Have you checked there?
> >>
> >> / Jonas
> >
> > This works for me:
> > synclient TouchpadOff=1
>
> Well, I have finally managed to get SHMConfig enabled. Now your
> idea works. The touchpad is disabled. Hooray.
>
> So now, two questions.
>
> 1 How do I re-enable it please?
>
> 2 Do I have to run this every time to disable it?
>
> Thanks for your help
re-enable: TouchpadOff=0 :-P
I've written a little script which I call through a keyboard
shortcut:
#!/bin/bash
state=$(synclient -l | grep -i 'TouchpadOff')
state=${state: -1}
case ${state} in
'1') synclient 'TouchpadOff=0';;
*) synclient 'TouchpadOff=1';;
esac
It's quick'n'dirty, but does the job...
--Reinhold
More information about the kubuntu-users
mailing list