Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wanted to know how I could configure multi-touch gestures in Ubuntu. In windows I can do this using the synaptics driver software.

I have already used synclient to configure the taps, palmdetect, scroll, etc. I now want gesture support. Is is possible even?

System-Info: Ubuntu 12.10, Synaptics clickpad

share|improve this question
    
wanted to specify some details: What I wanted to do is to be able to configure a gesture for the browser/nautilus back/forward buttons. In windows I can do this with a 3-finger swipe. Similarly to minimize/open all windows. In Win7 this can be done with a four finger swipe either up or down. I want things similar to the Mac. Is this possible? –  kapad Nov 19 '12 at 4:23
add comment

1 Answer 1

up vote 7 down vote accepted

There are numerous solutions, most of which are still a little half-baked. Many of the documented ones are out of date, so make sure you look at the date of whatever you google.

Ubuntu has built in rudimentary gestures (2 finger) support in the mouse/touchpad settings applet.
I found it randomly conked out and two finger scrolling would then be mysteriously greyed out, setting me off on a long chain of googling to maybe get it back.
Then I tried touchegg, which sort of worked sometimes.
It is the easiest to configure and there are good instructions but it is based on an older daemon solution to the problem.
The ubuntu multitouch howto (you'll have to google it as I can only include two links) was badly out of date but is slowly getting worked on. It sort of offers another set of patchy solutions, but is in the process of getting updated.

The solution I am currently using is mtrack (in the repos) combined with easystroke (have to compile from source).
Mtrack supports the kernel version of multitouch rather than an ad hoc solution like touchegg and ginn if I understand right, but easystroke is another daemon solution that seems to work well for now on top of mtrack.

Mtrack's approach seems to be the direction development is taking.

uninstall the other stuff (ginn, touchegg) if you use it and then install mtrack from the repos full name is xserver-xorg-input-mtrack.

It is a pain to configure and I have not gotten three fingers to swipe. See the link at the end of the thread for people's various config files. I use an apple magic trackpad and it is pretty good for that, though it has one annoying glitch in that double-tap and drag for example to move a window is erratic. workaround is to either use an actual button click to move windows, or to hesitate a split second after the double tap and hold before moving the window.

I just found easystroke, and until mtrack gets a gui you might want to try that if you are adventurous enough to try compiling a program.

once compiled by running make -j2 and installed by sudo make install, start it with easystroke -g to get the GUI and go to the wiki page for instructions.

One other issue you may need to sort out is the drivers.

If you use mtrack, you might need to renumber the files so your mtrack driver gets read last or the synaptics settings will grab everything.

Those drivers are stored at /usr/share/X11/xorg.conf.d.

copy the mtrack driver to /etc/X11/xorg.conf.d, edit the settings in that folder (see the linked thread and the README for how) to get your three finger goodness if you can (or use easystroke), and rename the file to a higher number so 50-mtrack.conf becomes 60-mtrack.conf, otherwise I found the synaptic driver will grab your touchpad half the time.

Putting the file in /etc means that it will not get overwritten on updates like the /usr files, and that it is read last and thus takes priority over the default drivers in /usr.

Hope this helps. This is an area of fairly active development, so whatever I write will probably be obsolete within a year, hopefully for the better.

share|improve this answer
    
Hey thanks for this great answer. Sorry it took a while to check it :) –  kapad Feb 6 '13 at 21:16
    
Any news about a proper solution about this matter? Still can't get it to work aceptable.. –  tomyo May 30 '13 at 4:05
    
There seems to be an easystroke package nowadays, and the -g option is not known to it. Without the argument, it starts a GUI though. :) PS: I run Mint 16. –  Herbert May 16 at 13:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.