Comment 72 for bug 296610

Revision history for this message
Dave (foceni) wrote :

Robert, one more thing. If you want your settings permanent, to remain even after reset, mouse disconnect, etc you have to apply them via HAL. It is very easy, you've done the hard part already.

Just use gsynaptics or whatever and set your parameters. Then use "synclient -l" to list all properties & values and just put them in your *.fdi HAL file. Every time your TouchPad, mouse, etc is detected, these settings will be applied on the low HAL level. No need for GNOME or other SHM tools (which after all don't persist as you see).

You can use this to transform synclient output into HAL XML format -- paste the result into your *.fdi:

synclient -l | sed 's/ *\([^ ]\+\) *= *\([^ ]\+\)/\t<merge key="input.x11_options.\1" type="string">\2<\/merge>/'

In case the forum messes up white spaces or other characters: http://pastebin.com/f6ff8ce93