2

I have done a lot of googling for disable touchpad click and disable touchpad while typing and found a lot of answers. However most of them are related to a desktop enviornment. I do not use a DE.

So, I need to:

  • Completely disable touchpad clicks always

and

  • Disable touchpad while typing (like scrolling, moving mouse)
0

If it is a Synaptics touchpad, its properties can be changed for running X server with synclient program, more info here and here. For example, to disable tap ("click") action, use

synclient TapButton1=0

To list available configuration options:

synclient -l

You might be particularly interested in

Option "TouchpadOff" "integer"
 Switch off the touchpad. Valid values are:
 0 Touchpad is enabled
 1 Touchpad is switched off
 2 Only tapping and scrolling is switched off
0

Disable touchpad while typing (like scrolling, moving mouse)

I was able to achieve this by adding syndaemon -i 1 -d & to my ~/.xinitrc file.

The number 1 here is seconds, which is how long to to wait to activate the touchpad after the last key is pressed.

Completely disable touchpad clicks always

I was partially able to achieve this by adding Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "MaxTapTime" "0" EndSection to /etc/X11/xorg.conf.d/10-synaptics.conf

I say partially here because it does prevent click on unwanted windows, but it does not prevent accidental activation on background windows by scrolling on them

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.