I just realized that two finger scroll is working. I don't know if it started working before or after I upgraded the xinput synaptics driver.
I had a while ago followed the instructions here:
http://ubuntu-snippets.blogspot.com/200 ... ptics.html
turns out that my fingers don't press down hard enough all the time to cross the MinZ threshold. Turning the threshold down to below 90 would mean that some of my single finger clicks would be interpreted as multi finger clicks. However, the latest driver also has a MinW option (not sure which version this was added in; it could have been there before but just not in the man page).
So I set MinZ to 70 and MinW to 7. My /etc/hal/fdi/policy/11-x11-synaptics.fdi now looks like this:
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
<merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">70</merge>
<merge key="input.x11_options.EmulateTwoFingerMinW" type="string">7</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">3</merge> <!--two finger tap -> middle clieck(3) -->
<merge key="input.x11_options.TapButton3" type="string">2</merge> <!--three finger tap -> right click(2). almost impossible to click -->
</match>
</device>
</deviceinfo>
I would rather use circular scrolling than two finger scrolling, and have the two fingers be used for pasting. So I set the TwoFingerScrollLines to 0 and add lines for circular scroll. Two fingers still doesn't paste, and it turns out those TapButton lines are wrong, so I switch them. And since PalmDetect is off by default (why?) I turn it on:
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
<merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">70</merge>
<merge key="input.x11_options.EmulateTwoFingerMinW" type="string">7</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">0</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">0</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<merge key="input.x11_options.CircularScrolling" type="string">1</merge>
<merge key="input.x11_options.CircularPad" type="string">1</merge>
<merge key="input.x11_options.CircScrollTrigger" type="string">3</merge>
<merge key="input.x11_options.PalmDetect" type="string">1</merge>
</match>
</device>
</deviceinfo>
Also shm isn't necessary anymore on the latest client, but I'm leaving it on in case my driver gets reverted somehow.
Now if the machine really does support multitouch as advertised, it should be possible to get pinch and such to work as well, but I'm not going to hold my breath.
A few hours spent that I don't feel I should have had to, but I am much happier now!