我运行Ubuntu16.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)]
出于某种原因,我没有看到触控板列出。我是在戴尔的纬度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
发布于 2016-09-01 16:03:33
反向滚动方向的选项称为自然滚动,并仍然存在于16.04's系统设置,→鼠标和触屏配置。
发布于 2016-09-01 16:38:57
如果您使用的是libinput
,则无法使用GUI选项。
在这种情况下,您可以通过添加
Option "NaturalScrolling" "True"
到/usr/share/X11/xorg.conf.d/90-libinput.conf
文件的touchpad部分。
发布于 2016-09-02 15:52:39
如果使用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
还有其他有用的特性,例如:
Option "MiddleEmulation" "on"
Option "Tapping" "on"
Option "DisableWhileTyping" "on"
如果您愿意,也可以为在30-pointer.conf
中具有以下内容的任何鼠标启用此功能
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "on"
EndSection
更多信息,man libinput
。
https://askubuntu.com/questions/819662
复制相似问题