发布于 2017-08-24 08:39:05
根据您的HWE堆栈编辑文件/usr/share/X11/xorg.conf.d/40-libinput.conf
或90-libinput.conf
。
在文件的触摸屏部分末尾添加一行
Option "NaturalScrolling" "True"
并重新启动会话。
这一节应这样看:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "True"
EndSection
如果要启用点击功能,也可以添加Option "Tapping" "True"
。
发布于 2021-08-14 15:12:13
如果有人不愿意重新启动他们的X服务器,你可以用xinput
来完成。
xinput --list
xinput --list-props <trackpad identifier>
xinput --set-prop <trackpad identifier> <natural scrolling parameter> 1
例如,在我的系统中我运行
xinput --set-prop "CUST0001:00 06CB:76B1 Touchpad" "libinput Natural Scrolling Enabled" 1
https://askubuntu.com/questions/949323
复制相似问题