编辑:
我刚刚找到了一个更好的解决方案/解决方法来解决我的原始答案:
添加Option "NaturalScrolling" "on"
到/usr/share/X11/xorg.conf.d/40-libinput.conf
在上下文中:
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "NaturalScrolling" "on"
Driver "libinput"
EndSection
Run Code Online (Sandbox Code Playgroud)
然后重启X会话(即:注销或重启)
我也注意到了;这真的很烦人。我的也“忘记”了我对 Caps Lock 的设置(使其成为 Esc),这让我发疯。
以下两个终端命令将解决问题
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
对于我的逃生问题:
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
(edit2) 由于我在终端中关闭并再次打开设置,它们并没有神奇地消失。也许只运行一次就足够了?(将其关闭再打开 :) )
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1505 次 |
最近记录: |