-
-
Notifications
You must be signed in to change notification settings - Fork 1
Arch Linux Touchpad Configuration
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to configuring touchpads on Arch Linux, including gestures, sensitivity, multi-touch settings, and troubleshooting.
Check touchpad:
# List input devices
xinput list
# Or
libinput list-devices
# Check if touchpad detected
cat /proc/bus/input/devices | grep -i touchpadlibinput is default:
# Usually installed
# Check
pacman -Q libinputCreate config:
# Create config directory
mkdir -p ~/.config/libinput
# Create config file
vim ~/.config/libinput/local-overrides.quirksOr use xorg config:
sudo vim /etc/X11/xorg.conf.d/30-touchpad.confExample config:
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingDrag" "on"
Option "NaturalScrolling" "true"
Option "AccelSpeed" "0.5"
EndSection
For older touchpads:
# Install Synaptics
sudo pacman -S xf86-input-synaptics
# Remove libinput
sudo pacman -R xf86-input-libinputCreate config:
sudo vim /etc/X11/xorg.conf.d/70-synaptics.confExample:
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "VertEdgeScroll" "on"
Option "HorizEdgeScroll" "on"
EndSection
Install gestures:
# Install libinput-gestures
yay -S libinput-gestures
# Add user to input group
sudo gpasswd -a $USER input
# Configure
libinput-gestures-setup autostart
libinput-gestures-setup startEdit config:
vim ~/.config/libinput-gestures.confExample gestures:
gesture swipe up 3 xdotool key super
gesture swipe down 3 xdotool key super
gesture swipe left 4 xdotool key alt+Right
gesture swipe right 4 xdotool key alt+Left
Install fusuma:
# Install fusuma
yay -S fusuma
# Configure
mkdir -p ~/.config/fusuma
vim ~/.config/fusuma/config.ymlCheck drivers:
# Check loaded modules
lsmod | grep -i touchpad
# Check Xorg logs
cat /var/log/Xorg.0.log | grep -i touchpadTemporarily disable:
# Using xinput
xinput disable "Touchpad"
# Enable
xinput enable "Touchpad"Adjust sensitivity:
# Using xinput
xinput set-prop "Touchpad" "libinput Accel Speed" 0.5
# Or edit config fileThis guide covered touchpad configuration, libinput, Synaptics, gestures, and troubleshooting.
- Arch Linux Hardware Configuration - More hardware
- Arch Linux Laptop Configuration - Laptop setup
- ArchWiki Touchpad: https://wiki.archlinux.org/title/Touchpad_Synaptics
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.