Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.)

The most popular advice I have found is to execute synclient MaxTapTime=0 in the user's X session.

I could accept this solution, but the problem is that this doesn't work for all users with their different preferred X "environment".

The first user has logged in in the linux console, and run startx. X server for his session has occupied the 7th virtual linux console. He uses bare ratpoison.

The second user has logged in, run startx. X server for his session has occupied the 8th virtual linux console. He uses WindowMaker.

synclient MaxTapTime=0 has had an effect in the second user's X session, but has had no effect when executed in the first user's X session.

So, can this setting be done system-wide, for the X server, perhaps in xorg.conf?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

One way to do it is by adding a file called 10-synaptics.conf in the directory /etc/X11/xorg.conf.d (create the directory if it does not exist). In this file you can put something like

Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "MaxTapTime"             "0"

if MaxTapTime is the option you want to set. Note that the name of the file is not important, and you could as well use 10-notouchpadtap.conf. The number however is used to define the order in which the configuration files are used by the system.

share|improve this answer
That's a nice answer, but probably this works only with newer servers. My xorg-server-1.4.2-alt10.M41.1 doesn't accept an InputClass section... And my xorg.conf doesn't have any InputDevice sections (with a comment "With libXiconfig we don't need configuration for ps and usb mice."). So, as for now, I'm in doubt how to correctly put the wanted option into my xorg.conf... – imz -- Ivan Zakharyaschev Apr 17 '14 at 16:38
Asked a specific question for my old X server without InputClass: – imz -- Ivan Zakharyaschev Apr 17 '14 at 18:07
After creating the directory and the settings file, no daemon restart was needed! thought someone else would like to know. – Ddorda Sep 28 at 14:45
In a fresh installation of an ALTLinux system, there might be already the file /etc/X11/xorg.conf.d/20-synaptics.conf provided by xorg-conf-synaptics-0.2-alt1 package with some frequently used options. One could simply add his custom configuration into this file. (It is marked as a "configuration" file by RPM, so RPM will try to be careful with one's custom configuration on upgrades.) – imz -- Ivan Zakharyaschev Nov 14 at 13:11
I've included the example how to disable the tap in xorg-conf-synaptics-0.3-alt1 in ALTLinux (which I've been using and had in mind when asking the question). One will have to just read the file and uncomment a line. – imz -- Ivan Zakharyaschev Nov 14 at 20:23

Your Answer


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.