Ask Your Question
0

How do I change the touchpad multitap behavior?

asked 2011-11-08 19:56:55 -0600

redbeans gravatar image

updated 2011-11-08 19:58:23 -0600

I would like to permanently make 2-finger-tapping do middle clicks and 3-finger-tapping do right clicks in Fedora 16.

edit retag flag offensive close merge delete

7 Answers

Sort by ยป oldest newest most voted
0

answered 2011-11-09 09:30:16 -0600

Rob Spanton gravatar image

Checking you have a synaptics touchpad

If your touchpad supports it, you can configure it to do these things. The relevant Xorg driver is called 'synaptics'. So first, to find out if you do have a synaptics touchpad, search the Xorg log (/var/log/Xorg.0.log) for 'synaptics'. If you find a line like this:

[ 19.622] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'

Then you do indeed have a touchpad that might support detecting multiple fingers.

Configuring your touchpad

The synaptics driver has a lot of different configuration options, which you can read about in its man page (`man synaptics`). To configure your touchpad so that the settings are persistent across Xorg sessions, you should create a file in /etc/X11/xorg.conf.d, and call it 01-synaptics.conf (or something else ending in .conf).

Put the following in this file:

 Section "InputClass"
        Identifier "pad-config" 
        MatchDriver "synaptics"

        # Enable runtime configuration of the touchpad
        Option "SHMConfig" "true"

        # One-finger tap = button 1
        Option "TapButton1" "1"
        # Two-finger tap = button 2
        Option "TapButton2" "2"
        # Three-finger tap = button 3
        Option "TapButton3" "3"
EndSection

Then restart Xorg (e.g. by logging out). You should find that once you've logged back in again, your touchpad does what you want. You can play around with the settings for your touchpad using the synclient command-line program.

edit flag offensive delete link more
2

answered 2011-11-29 18:21:51 -0600

whot gravatar image

A few other things:

gsynaptics was removed in F14. The replacement is gpointing-device-settings but it has a bit of a rough history.

synclient settings are runtime-only and thus need to be reapplied after each login/reboot/X server restart. For permanent settings, use the xorg.conf.d snippet by Rob, with one exception: SHMConfig is obsolete now, it's just for driver debugging and will be removed soon completely. That option in the xorg.conf already has no effect and should be removed.

.conf files are applied sorted and overwrite/augment other configs. For the final configuration, we recommend a naming of 99-whatevername.conf so that no other future configurations will overwrite it. Likely doesn't matter if you don't have a lot of custom configs (distribution default configurations apply before yours anyway).

If you're using GNOME, it will most likely overwrite some of the xorg.conf settings. For those settings not available through the control-panel, use a script as outlined here: http://who-t.blogspot.com/2011/03/custom-input-device-configuration-in.html

edit flag offensive delete link more
0

answered 2012-05-15 19:23:42 -0600

FYI for other Gnome3 users, please note that: I had to use the GUI touchpad configuration option to make my touchpad work for mouse-clicks.

(I did first create the 01-synaptics.conf file as described in those steps, and the setting did work -- WHEN NOT RUNNING GNOME 3 as my desktop. But for the mouse clicks to work when tapping the touchpad in GNOME 3, I -had- to use the GUI setting, located at ...Activities drop down menu (link at top-left in Gnome3), ...Applications tab (link), ...System Settings section (link), ...Mouse and Touchpad icon, ...Touchpad tab, ..."Enable mouse clicks with touchpad" checkbox.

edit flag offensive delete link more
0

answered 2011-11-09 21:31:17 -0600

66beta gravatar image

yum install gsynaptics

edit flag offensive delete link more
0

answered 2012-05-15 19:21:36 -0600

FYI for other Gnome3 users, please note that: I had to use the GUI touchpad configuration option to make my touchpad work for mouse-clicks.

(I did first create the 01-synaptics.conf file as described in those steps, and the setting did work -- WHEN NOT RUNNING GNOME 3 as my desktop. But for the mouse clicks to work when tapping the touchpad in GNOME 3, I -had- to use the GUI setting, located at ...Activities drop down menu (link at top-left in Gnome3), ...Applications tab (link), ...System Settings section (link), ...Mouse and Touchpad icon, ...Touchpad tab, ..."Enable mouse clicks with touchpad" checkbox.

edit flag offensive delete link more
0

answered 2011-11-08 20:27:26 -0600

Dandapani gravatar image

updated 2011-11-08 20:27:57 -0600

synclient TapButton1=1
synclient TapButton2=3
synclient TapButton3=2

Or so it was with F15

edit flag offensive delete link more
0

answered 2011-11-29 18:28:29 -0600

FWIW, the man page lists the options (you set them in /etc/X11/xorg.conf or /etc/X11/corg.conf.d/synaptics.conf )

http://linux.die.net/man/5/synaptics

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-08 19:56:55 -0600

Seen: 10,521 times

Last updated: May 15 '12