Steps
install
xf86-input-libinput
bash sudo pacman -S xf86-input-libinput
go to
/etc/X11/xorg.conf.d
bash cd /etc/X11/xorg.conf.d
create a file named
30.touchpad.conf
using the nano text editorbash sudo nano 30-touchpad.conf
put this in the created file:
Section "InputClass"
Identifier "devname"
Driver "libinput"
Option "Tapping" "on"
Option "Natural Scrolling" "true"
EndSection
- reboot and everything should work fine!
Update: 19/04/2023
- changed
Identifier "devname"
toIdentifier "touchpad"
- also added this after
Driver
:
MatchIsTouchpad "on"