Enable Laptop Touchpad on Arch Linux
nurfitri •Enabling Laptop Touchpad in Arch Linux.
- Install the touchpad driver using:
pacman -Sy xf86-input-synaptics
- According to the Arch Linux website, it is advised to use libinput instead of xf86-input-synaptics,
Enable Two-Finger Touch for Right-Click
You can configure this in two ways:
Method 1: Using Configuration File
- Create or edit the file /etc/X11/xorg.conf.d/70-synaptics.conf with the following content:
Section "InputClass" Identifier "touchpad" Driver "synaptics" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "3" Option "TapButton3" "2" Option "VertEdgeScroll" "on" Option "VertTwoFingerScroll" "on" Option "HorizEdgeScroll" "on" Option "HorizTwoFingerScroll" "on" Option "CircularScrolling" "on" Option "CircScrollTrigger" "2" Option "EmulateTwoFingerMinZ" "40" Option "EmulateTwoFingerMinW" "8" Option "CoastingSpeed" "0" Option "FingerLow" "30" Option "FingerHigh" "50" Option "MaxTapTime" "125" ... EndSection
Method 2: Using synclient
-
Use synclient -l to list your touchpad options.
-
To enable double-tap for right-click
nurbxfit@jun:~ synclient TabButton2=3
- to enable single tab for leftclick
nurbxfit@jun:~ synclient TabButton1=1