How do I restore two finger middle click again?

it used to be that tapping two fingers on the touchpad send a middle mouse click. Now it does a right click and three fingers now are the middle click. I really can't understand the change and think it is a bug or badly copied from Apple or something. The reasoning escapes me totally. I use middle click to open links in a new tab in the browser all day and I rarely use right click (and I have a right mouse button below the touchpad, doh) Tapping three fingers on my tiny EeePC touchpad is next to impossible so I want the old behavior. I found:

synclient TapButtons2=2
synclient TapButtons3=3

but that did not work on 10.10

Does anyone know how to restore sane behavior?


The default settings that seem to be enabled with "tap to click" (on my laptop anyway) also provides the following functionality:

  • Middle Click (tap at top right of scroll area)
  • Right Click (tap at bottom right of scroll area)

You may also be interested in installing the gpointing-device-settings package, which will provide more configuration options for your touchpad. BTW, in Ubuntu 10.04LTS+ this replaces gsynaptics.

sudo apt-get install gpointing-device-settings

Once installed you find it under System -> Preferences -> Pointing Devices.


The following solution has been tested on Ubuntu 12.04 and 12.10. It works perfectly.

  1. Create a file /etc/X11/xorg.conf.d/touchpad.conf with the following content:

    Section "InputClass"
            Identifier      "Touchpad"                      # required
            MatchIsTouchpad "on"                           # required
            Driver          "synaptics"                     # required
            Option          "MinSpeed"              "0.5"
            Option          "MaxSpeed"              "1.0"
            Option          "AccelFactor"           "0.075"
            Option          "TapButton1"            "1"
            Option          "TapButton2"            "2"     # multitouch
            Option          "TapButton3"            "3"     # multitouch
            Option          "VertTwoFingerScroll"   "1"     # multitouch
            Option          "HorizTwoFingerScroll"  "1"     # multitouch
            Option          "VertEdgeScroll"        "1"
            Option          "CoastingSpeed"         "8"
            Option          "CornerCoasting"        "1"
            Option          "CircularScrolling"     "1"
            Option          "CircScrollTrigger"     "7"
            Option          "EdgeMotionUseAlways"   "1"
            Option          "LBCornerButton"        "8"     # browser "back" btn
            Option          "RBCornerButton"        "9"     # browser "forward" btn
    EndSection
    
  2. Run dconf-editor from your user (don't sudo). Go to org.gnome.settings-daemon.plugins.mouse, uncheck active. (It is a known issue that Gnome's Settings Daemon may override your xorg.conf settings).

  3. Log out and log in. Things should be working fine now.


xinput gave:

unable to find device SynPS/2 Synaptics TouchPad

so I did

synclient TapButton3=3 TapButton2=2

from a tip from http://ubuntuforums.org/showthread.php?t=1251372

I put this in my ~/.bashrc and things seem to work