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:
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
.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.
Create a file
/etc/X11/xorg.conf.d/touchpad.conf
with the following content:Run
dconf-editor
from your user (don't sudo). Go toorg.gnome.settings-daemon.plugins.mouse
, uncheckactive
. (It is a known issue that Gnome's Settings Daemon may override yourxorg.conf
settings).Log out and log in. Things should be working fine now.
xinput
gave:so I did
from a tip from http://ubuntuforums.org/showthread.php?t=1251372
I put this in my
~/.bashrc
and things seem to workTo fix the middle click you can use the following command:
Where
NN
is the id of the mousepad device, you can see it with the commandxinput list
. 266 is the id of the property "Synaptics Tap Action" you can see it withxinput list-props NN
You have to run this command every time you boot/login/wake.
To make it permanent you can put this command to the end of your
.profile
file in your home folder. (You can also try to put it in/etc/init.d/rc.local
, but in my case it didn't work.)To preserve your synaptics configuration after resume, I followed this steps from wiki.archlinux.org:
It worked on Ubuntu 11.10 AND now I have:
Try running this as a script
OK,
I now have to run
and
to restore things to something I can tolerate, BUT I have to run those commands after each resume. Which script is run after each resume to automate that?
Add this to
/etc/X11/xorg.conf
:WARNING: try with caution. When added to
~50-synaptics.conf
in 11.10, may cause boot hang after login screen.Solution #1
I just discovered that if you keep two fingers pressed on touchpad and press the left click "button" of the touchpad it emulates the middle mouse button (so you need 3 fingers in total)
Solution #2
If you still want to click both buttons and produce a middle button emulation, execute:
EmulateMidButtonTime allows you to change the time required to produce a middle button (allowed time period to click both buttons). 100 means 100 milliseconds (ms).
You may set it to even higher values, such as
synclient EmulateMidButtonTime=500
for 500ms, which is enough time to click both buttons