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 love the Multi Touch feature Mac provides.

I dont remember how but in 11.10 i had managed to find a few multitouch actions to be supporetd by some software.

Now I am using 12.04, Is there any way/application/workaround/plugin or anything that can provide me with multitouch gestures similar to mac or atleast near to it?

With the help of synaptics i figured out that my touchpad supports 3finger control.

I am using a Samsung NP-RV509-A0GIN.

share|improve this question
add comment

2 Answers 2

Touchegg

Touchégg is a “multitouch gesture recognizer” for Linux, written in C++ , with Qt and utilizing Ubuntu’s uTouch-geis library. It allows users to define what actions are initiated when a multi-touch gesture is made.
Providing the desired gesture is recognised by Touchégg you can assign one of a number of window-related actions to it, including maximize or minimize windows, resize apps, show the desktop, etc.
Setting the ‘actions’ you want is currently achieved through the manual editing of a small configuration file.

Touchegg comes with some pre-enabled gestures, however gestures can be enabled by editing the config file. It allows three-fingers pinch, two, three, four and five finger tap and two to four finger swipes.

Homepage

note: It is having issue with precise. A bug is reported here and here

Pre-requisites

You need the latest vesion of Utouch to be running this. So add the following PPA

sudo add-apt-repository ppa:utouch-team/daily
sudo apt-get update
sudo apt-get install utouch  

Installation

In Quantal (12.10), Precise (12.04) and Oneric (11.10) the package is in the repositories as shown here

Also see here for more downloads

Editing the config file

Config file is located here
~/.config/touchegg/touchegg.conf

Editing the file:
Open config file.

gedit ~/.config/touchegg/touchegg.conf

In the example below, the four finger drag gesture is configured to switch to Show Desktop

Four Fingers Drag

[FOUR_FINGERS_DRAG_DOWN]
action=SHOW_DESKTOP
settings=

Three Fingers Drag

[THREE_FINGERS_DRAG_UP]
action=MAXIMIZE_RESTORE_WINDOW
settings=

[THREE_FINGERS_DRAG_DOWN]
action=MINIMIZE_WINDOW
settings=  

List of more actions here

Thus you can get Mac like multi-touch experience on Linux systems.

Check out a demonstation video here and here

Which gestures are supported?

The following gestures are suppoted

Other alternatives

Ginn

share|improve this answer
    
@Nirmik edited my answer –  Ashu Jun 10 '12 at 5:30
    
@Ashu I think it isn't fixed yet. Right? –  virpara Jun 10 '12 at 7:00
    
@virpara looking around it is actually a confirmed bug. See here. The utouch -geis package is actually at fault edit- your links says the same thing :P –  Ashu Jun 10 '12 at 7:04
    
I cant find the application in unity menu like in this video - youtube.com/watch?v=1Ek4QaFQ1qo&feature=player_embedded –  Nirmik Jul 12 '12 at 18:57
2  
@Ashu...something is fishy! my config file does not look like the one shown in the video tutorial! here is the pastbin of my confug file... paste.ubuntu.com/1114187 What m i supposed to do now? :/ –  Nirmik Jul 27 '12 at 17:36
show 2 more comments

There's some great advice here: http://ubuntuforums.org/showthread.php?t=1419833

Easiest solution is probably just:

  • Go to System/Preferences/Mouse
  • Click on the touchpad tab and you can select two finger scrolling under the scrolling heading.

If that fails, you may need to do something like shown below, depending on your hardware:

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8

You've gotta run at least these four (more in the link above), and you have to run them on boot, so you'll probably want to drop them into a startup script; preferably one late in the boot process.

I'm not sure what make of touchpad you have, so you may have to do a little digging to get the right names and properties to set.

To check your input devices for the touchpad, run xinput list and look under the pointer section. You should have multiple items in the list, and the one with highest id is likely your touchpad. If it's synaptic, you're golden, and the four commands above will solve you woes.

If not, you must dig a little.

In The second column of xinput list, each device has id=#

Run xinput list-props #, where # = your device id.

This will show you all the available properties for your input device.

The commands above differ from my default settings from the return values of xinput list-props in that the 8s and 32s describe the size of the data being set. The second and third ints match exactly what xinput list-props returned, but going through the act of setting enabled two finger scrolling for me.

share|improve this answer
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.