xorg的触摸板配置

触摸板

由于dwm的原因,触摸板没办法使用所以我们进行一些配置

安装

1
2
sudo pacman -S libinput
sudo pacman -S xf86-input-synaptics

配置

1
sudo cp /usr/share/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d

/etc/X11/xorg.conf.d/70-synaptics.conf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Section "InputClass"
	Identifier "touchpad"
	Driver "synaptics"
	MatchIsTouchpad "on"
	Option "TapButton1" "1"
	Option "TapButton2" "3"
	Option "TapButton3" "0"
	Option "VertEdgeScroll" "on"
	Option "VertTwoFingerScroll" "on"
	Option "HorizEdgeScroll" "on"
	Option "HorizTwoFingerScroll" "on"
	Option "VertScrollDelta" "-112"
	Option "HorizScrollDelta" "-114"
	Option "MaxTapTime" "125"
EndSection
萌ICP备20241614号