I recently set-up multi-touch on my lenovo x1 2nd gen and got it to work (pinch and zoom, one-finger drag) on Chrome and Chromium, although not the (sadly less-featured right now) Firefox.
My post on askubuntu.com follows.
Touchegg (sudo apt-get install touchegg
) works for me — however apparently not on Firefox or Chrome, only on Chromium, do the multi-touch gestures work for me (out-of-the-box).
On Chromium, I can one-finger drag (on-screen touch, not touchpad), two finger scroll (touchpad), pinch and zoom (on-screen touch).
See: Firefox bug, http://askubuntu.com/a/664898/67349
To fix chrome, I had to follow both answers at Chrome + Touchscreen + Unity (14.04)
First,
- Navigate to
chrome://flags/#touch-events
and - set
Enable touch events Mac, Windows, Linux, Chrome OS
to enabled. - I also set “Enable pinch scale. Windows, Linux, Chrome OS” to enabled (instead of default).
Second, I needed to start google chrome and tell it which device.
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ ELAN Touchscreen id=9 [slave pointer (2)]
$ google chrome --touch-devices=2
My Setup
- ubuntu 14.04
- lenovo 2nd gen x1.
- Chromium: Version 43.0.2357.130 Ubuntu 14.04 (64-bit)
- Chrome: Version 43.0.2357.134 (64-bit)
- Firefox: 40.0
My ~/.config/touchegg/touchegg.conf
if it’s useful: http://pastebin.com/qGexA1gB