← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 18605] Re: Touchpad doesn't tap-to-click anymore after suspend

 

I wrote a small program that can be used to work-around the gnome-
settings-daemon TapButton2/TapButton3 switching problem. It may be
useful if you don't want to manually compile gnome-settings-daemon every
time it is updated.

If you switch between VTs, suspend and resume or insert and remove other
pointing devices it will reset TapButton settings back to what you want.

It uses "xinput watch-props" to monitor changes to xinput properties.
Whenever a certain property is changed the program resets this property
back to the one configured in the properties array. You may want to edit
this part of the code before compiling.

To compile:

$ gcc -o xinputd xinputd.c

To install:

$ sudo install -p -m 0755 xinputd /usr/local/bin/

To automatically start the program when logging in add "xinputd" to
"System" -> "Preferences" -> "Startup Applications".

** Attachment added: "xinputd.c"
   http://launchpadlibrarian.net/36479768/xinputd.c

-- 
Touchpad doesn't tap-to-click anymore after suspend
https://bugs.launchpad.net/bugs/18605
You received this bug notification because you are a member of Ubuntu-X,
which is a bug assignee.