[H-GEN] toggling touchpad

Russell Stuart russell-humbug at stuart.id.au
Mon Feb 23 01:37:44 EST 2009


On Mon, 2009-02-23 at 15:39 +1000, Peter Robinson wrote:
> #! /bin/bash
> # This script is called from udev rules:
> #    if "add" is the arg to the script then the mouse is added
> #    if "remove" then removed
> 
> if [ $1 = "add" ]; then
>         synclient TouchpadOff=1
> else
>         synclient TouchpadOff=0
> fi

Assuming synclient works as it is supposed to on the version
Ubuntu you are running (sadly not always a given), did you
notice this on synclient's man page:

  "This program lets you change your Synaptics TouchPad 
  driver for XFree86  server  parameters while X is 
  running if you enabled SHMConfig "on" in your XFree86 
  configuration."

In other words, is SHMConfig set to "on" in /etc/X11/xorg.conf?
If not, set it to on.

If you don't know what to change, post your /etc/X11/xorg.conf
here.





More information about the General mailing list