我正在运行 Ubuntu 16.04 并希望反转我的触摸板滚动,以便将我的两个手指移向显示器会导致屏幕向上滚动。以前,鼠标和触摸板设置中曾经有一个选项允许这样做。同样,gsettings
表示不推荐使用触摸板配置。想法?
编辑: xinput 命令给出了这个输出:
Virtual core pointer id=2 [master pointer (3)]
? ? Virtual core XTEST pointer id=4 [slave pointer (2)]
? ? ImPS/2 Generic Wheel Mouse id=14 [slave pointer (2)]
? Virtual core keyboard id=3 [master keyboard (2)]
? Virtual core XTEST keyboard id=5 [slave keyboard (3)]
? Power Button id=6 [slave keyboard (3)]
? Video Bus id=7 [slave keyboard (3)]
? Power Button id=8 [slave keyboard (3)]
? Sleep Button id=9 [slave keyboard (3)]
? Integrated_Webcam_HD id=10 [slave keyboard (3)]
? AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
? DELL Wireless hotkeys id=15 [slave keyboard (3)]
? Dell WMI hotkeys id=16 [slave keyboard (3)]
Run Code Online (Sandbox Code Playgroud)
出于某种原因,我没有看到列出的触控板。我在戴尔 Latitude E5570 笔记本电脑上,它肯定有一个触控板。此外,似乎没有鼠标和触控板选项支持触控板。
另外,查看目录/usr/share/X11/xorg.conf.d/
,我只看到这些配置文件:
10-amdgpu.conf
10-evdev.conf
10-quirks.conf
11-evdev-quirks.conf
11-evdev-trackpoint.conf
50-synaptics.conf
50-vmmouse.conf
50-wacom.conf
51-synaptics-quirks.conf
Run Code Online (Sandbox Code Playgroud)
如果您使用的是libinput
,则 GUI 选项不可用。
在这种情况下,您可以通过添加启用“自然滚动”
Option "NaturalScrolling" "True"
Run Code Online (Sandbox Code Playgroud)
到/usr/share/X11/xorg.conf.d/90-libinput.conf
文件的触摸板部分。
小智 5
如果您使用libinput
,则添加一个配置文件,/etc/X11/xorg.conf.d/
例如20-touchpad.conf
具有以下内容:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "on"
EndSection
Run Code Online (Sandbox Code Playgroud)
还有其他有用的功能,例如:
Option "MiddleEmulation" "on"
Option "Tapping" "on"
Option "DisableWhileTyping" "on"
Run Code Online (Sandbox Code Playgroud)
如果您愿意,也可以为具有以下内容的任何鼠标启用此功能 30-pointer.conf
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "on"
EndSection
Run Code Online (Sandbox Code Playgroud)
更多信息man libinput
。
归档时间: |
|
查看次数: |
35359 次 |
最近记录: |