Touchpad Support for Archlinux

A more detailed illustrate in Archwiki: libinput

install driver

According to Archwiki the synaptics is no longer actively updated, so the better choice is using libinput as touchpad driver. run:

# pacman -S xf86-input-libinput


the config file of libinput is located at /etc/X11/xorg.conf.d/. create a new file named 30-touchpad.conf in the location path, and write a new section labeled “InputClass” in it in such format:

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    Driver "libinput"

by default libinput for touchpad supports clicking and srcolling. to enable tap-as-click you need to add in the section body:

Option "Tapping" "on"


natural scrolling permits you scrolling in a reversed way. add:

Option "NartualScrolling" "true"

for more options see the man page of libinput.

下篇defination and laws of monad in haskell