Configure the touchpad [I3]

Configure the touchpad [I3]

Config:

Let’s use xorg server and create the file:
sudo mkdir /etc/X11/xorg.conf.d/90-touchpad.conf
Now edit it:

1
2
3
4
5
6
7
8
9
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
Option "TappingButtonMap" "lrm" # lrm = right click lmr = middle click
Option "NaturalScrolling" "on"
Option "ScrollMethod" "twofinger" # 2 fingers to scroll
EndSection

And reboot.