我一直试图让自然滚动运行,但在设置中没有选项。我已经通过synclient查看了参数,在那里也没有自然滚动的选项,就像在正常的Ubuntu中一样。有什么想法吗?
发布于 2017-04-24 20:05:12
你可以试试这个。注意事项6和7已被交换。
NaturalScrolling:
echo "pointer = 1 2 3 5 4 7 6 8 9 10 11 12" > ~/.Xmodmap && xmodmap ~/.Xmodmap信息来源:https://andym3.wordpress.com/2011/09/03/the-one-line-method-of-getting-natural-scrolling-in-linux/
发布于 2018-03-05 13:22:12
如@Pilot6 6所建议的,编辑/usr/share/x11/xorg.con.d/40-libinput.conf。但是,添加到“指针”和“触屏”部分。
找到‘指针’部分,并在那里添加“自然滚动”选项。
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "true" # <-- add this line
EndSection对触控板部分也要这样做:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "true" # <-- add this line
EndSection保存这些更改、重新启动和自然滚动现在应该对您有效。
发布于 2018-12-26 08:04:32
列出的解决方案只适用于我的联想Z510上的少数应用程序。在第一个InputClass部分的/usr/share/x11/xorg.con.d/70-synaptics-conf中添加以下行:
Option "VertScrollDelta" "-90"还可以通过执行以下命令来测试此操作是否有效:
synclient VertScrollDelta=-90但是,该命令的效果在您注销后会消失。因此,最好是编辑配置文件。
来源:https://diggle.tech/howto/2017/06/enable-natural-scroll-reverse-touchpad-on-lubuntu/
https://askubuntu.com/questions/908484
复制相似问题