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.

My workstation with Ubuntu 12.04 is a MacBook Pro which supports a Multitouch Trackpad.

Unfortunately, I'm constantly accidentally triggering the three finger touch gesture to resize a window:

enter image description here

How can I disable this gesture?

share|improve this question
    
You should change the chosen answer to the correct one: askubuntu.com/a/198524/2230 –  ioSamurai Feb 21 '13 at 23:41
add comment

3 Answers

up vote 2 down vote accepted

Install Compiz config manager:

sudo apt-get install compizconfig-settings-manager

then run compiz config manager (ccsm in terminal) or simply type ccsm in dash.

and find at the bottom of plugins list:

Unity MT Grab Handles to disable it.

share|improve this answer
1  
That's it! Thank you. –  user24668 May 7 '12 at 20:37
2  
For me, this only removes the move-symbols (the transparent circles with arrows on gentmatt's screenshot above). The three finger touch gesture still moves/resizes the windows, but without showing those symbols. –  Alfred Godoy Jun 3 '12 at 18:44
2  
I can confirm that this does not disable 3 finger gestures. I have MT Grab Handles disabled and I am still able to 3 finger drag windows around the screen. I would really like to disable this functionality. Any helpful contributions would be greatly appreciated. –  oznah Jun 10 '12 at 3:11
add comment

I have solved this issue by setting the following configuration values (initial values were 0):

synclient ClickFinger3=2
synclient TapButton3=2
share|improve this answer
    
That did the trick. I found a couple more helpful links. I made changes in my xorg.conf and things are good now. askubuntu or arch –  oznah Oct 10 '12 at 18:46
    
why isn't there a UI for synclient? srsly (ubuntu 12.10) –  NullVoxPopuli Dec 12 '12 at 16:14
    
@TheLindyHop nobody has written one yet, get on it! –  ioSamurai Feb 21 '13 at 23:41
    
These reenable the middle-click-paste. Suggest value that is "ridiculous" like 12 or more for both parameters to disable the tripple-tap completely –  ddotsenko Apr 21 at 4:37
add comment

The trackpad is configured by default to ignore three-finger taps (and three-finger clicks), and can be set it to regain control of it, thus overriding the window move association to three-finger taps. This is how it can be done:

  1. Look for the relevant property - open a terminal and type in:

    xinput
    

    Locate the line containing the trackpad details (e.g. ↳ CyPS/2 Cypress Trackpad id=12 [slave pointer (2)] ), and note its id value. Now type in:

    xinput list-props [id]
    

    where [id] is replaced by the id value (which is 12 in the given example). Now locate the Synaptics Tap Action property (e.g. Synaptics Tap Action (282): 2, 3, 0, 0, 1, 3, 0) and note its number, it will be enclosed inside round brackets (here it's 282). Also note the property values, we will use them later.

  2. Assuming you want this behavior at startup, create a shell script and add it to the startup programs. Let's call this script trackpad.sh. Our goal is to replace the last value with a new one, e.g. for middle click. Edit the script to contain the following:

    #!/bin/bash
    
    xinput set-prop [xinput-prop-id] [prop-number] [TR] [BR] [TL] [BL] [F1] [F2] 2
    

    Our concrete example command will than look like this (just for the sake of demonstration):

    xinput set-prop 12 282 2, 3, 0, 0, 1, 3, 2
    

    Notice that we replaced only the last value from 0 to 2, to signify middle click. You can choose any between 1 (left click), 2 (middle click), or 3 (right click).

  3. Grant the script with execution permissions, and run it. You're good to go!

Reference

share|improve this answer
add comment

Your Answer

 
discard

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