[H-GEN] toggling touchpad

Russell Stuart russell-humbug at stuart.id.au
Wed Apr 1 01:56:20 EDT 2009


On Wed, 2009-04-01 at 14:41 +1000, Peter Robinson wrote:
> I couldn't get it to work (in ubuntu ibex) until I discovered I needed 
> to disable touchpad in Preferences->Mouse
> Then it worked :(

Ahh.  So maybe what is happening is the window manager is effectively
running synclient for you whenever the mouse changes, to ensure the
settings reflect whatever is in Preference->Mouse.  How kind of it.

If you are using gnome, you can fix this.  There is a command line
program called gconftool which manipulates the gnome preferences.  Any
change you make has immediate effect.  It can also export the current
settings, so exporting them; changing Preference->Mouse; exporting them
again and doing a diff on the two will tell you what you have to change.

KDE has a program called kwriteconfig which seems to do a similar job,
but I am not familiar with it.

Thus instead of running synclient on a mouse event, running the
appropriate gconftool/kwriteconfig command may do what you want.





More information about the General mailing list