Take the 2-minute tour ×
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 4 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"
EndSection

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 at 16:38
    
Asked a specific question for my old X server without InputClass: unix.stackexchange.com/q/125264/4319 –  imz -- Ivan Zakharyaschev Apr 17 at 18:07

Your Answer

 
discard

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.