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 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".
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 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".