我的“鼠标和触摸板”设置中没有两个手指滚动选项

我的“鼠标和触摸板”设置中没有“双指滚动”选项。 我已经尝试了很多在论坛中找到的终端命令但没有成功。 谁拥有可以实现双指滚动的解决方案?

有关于我的一些:

Ubuntu 12.04.1 LTS \n \l Built-in Pointing Device Type: Mouse Interface: PS/2 Buttons: 2 ~$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ PS/2 Synaptics TouchPad id=15 [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)] ↳ WebCam SC-13HDL10931N id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] 

系统设置截图:

不要浪费太多时间等待GUI配置器赶上硬件。 学习在文本文件中设置配置或在终端中以交互方式设置配置。 这是如何做。

如果synclient返回未找到属性的消息,则表示您的系统使用libinput而不是synaptics作为驱动程序。 检查你的/etc/X11/xorg.conf.d,如果没有,我希望Ubuntu系统使用synaptics,所以我很惊讶你没有得到“synclient -l”或shch的回复。 但是在Fedora上,默认是使用libinput,所以也许你的配置正在冲浪。

如果您正在运行libinput驱动程序,则可以通过运行来查看

 xinput list-props 15 

其中15是触摸板设备的名称。 如果你得到这样的输出,就像我在使用libinput时一样,那么你就会知道你在哪里。

 Device "HID 413c:3010': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Accel Speed (276): 0.000000 libinput Accel Speed Default (277): 0.000000 libinput Accel Profiles Available (278): 1, 1 libinput Accel Profile Enabled (279): 1, 0 libinput Accel Profile Enabled Default (280): 1, 0 libinput Natural Scrolling Enabled (273): 0 libinput Natural Scrolling Enabled Default (274): 0 libinput Send Events Modes Available (257): 1, 0 libinput Send Events Mode Enabled (258): 0, 0 libinput Send Events Mode Enabled Default (259): 0, 0 libinput Left Handed Enabled (281): 0 libinput Left Handed Enabled Default (282): 0 libinput Scroll Methods Available (283): 0, 0, 1 libinput Scroll Method Enabled (284): 0, 0, 0 libinput Scroll Method Enabled Default (285): 0, 0, 0 libinput Button Scrolling Button (286): 2 libinput Button Scrolling Button Default (287): 274 libinput Middle Emulation Enabled (288): 0 libinput Middle Emulation Enabled Default (289): 0 Device Node (260): "/dev/input/event10" Device Product ID (261): 16700, 12304 libinput Drag Lock Buttons (275):  libinput Horizonal Scroll Enabled (262): 

您可能会考虑尝试使libinput工作,但如果您不想这样做,则可以使用synaptics来做什么。

要使系统使用synaptics驱动程序,请复制此文件

 /usr/share/X11/xorg.conf.d/50-synaptics.conf 

进入/etc/X11/xorg.conf.d。 重命名,将50更改为90,以便在序列中稍后加载。 如果/etc/X11/xorg.conf.d中有libinput配置文件,请将其移动到其他位置。

在该syaptics配置文件中,进行一些编辑。 让前两个节相同。 在最后一个中,您可以设置您的设置。 如果我使用synaptics,这些是我现在使用的:

 Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 66% 0 0 0 0 0" Option "TapButton2" "2" Option "TapButton3" "3" Option "CoastingFriction" "5" Option "CoastingSpeed" "8" Option "AccelFactor" "0.1" Option "PalmDetect" "1" Option "PalmMinWidth" "4" Option "PalmMinZ" "30" Option "VertEdgeScroll" "1" Option "FingerHigh" "35" Option "FingerLow" "20" EndSection 

如果您不知道所需的设置,可以在命令行中进行测试。 找到你喜欢的,然后放入文件。 像这样

 synclient -l 

列出所有设置,然后测试一些

 synclient VertEdgeScroll=0 FingerHigh=30 

当您这样做时,光标会立即响应不同。 当然,当您更改xorg.conf.d中的设置时,您需要注销并再次登录。

现在,由于您(可能)使用libinput,您可能会停在原地,而是考虑学习配置libinput。 这是新事物,事物的方式(可能),以及现在Fedora的方式。 它是一个配置较少的设备,但它试图找到基本的基础,然后忘记其余的。

libinput主要是按照它的方式使用,但它没有点击启用。 您将完成与之前相同的过程,从/usr/share/X11/xorg.conf.d复制文件,除非这次获取libinput的文件。 除了在最后一节插入这一行之外,几乎不需要更改。

  Section "InputClass" Identifier "MyTouchpad" MatchIsTouchpad "on" Driver "libinput" Option "Tapping" "on EndSection 

如果你这样做,那么我认为你会得到两个手指拖动和其他一些基础知识。

libinput驱动程序不是很多function,它试图让基础知识正确,希望我们不会认为我们需要所有这些function。 但是,在许多设备上(你会看到人们对此大肆宣传),自动,简单的function设置并不完全正确。 在我的Dell Precision 5510上,大多数工作都很好,但“禁区”的自动手掌检测对我来说是不合适的。 其余大部分都很好。

  1. 为什么libinput具有较少的设置:

http://who-t.blogspot.com/2016/04/why-libinput-doesnt-have-lot-of-config.html

  1. 理论文件解释了为什么禁区应该一劳永逸地解决手掌问题

https://wayland.freedesktop.org/libinput/doc/latest/palm_detection.html

(尽管目前某些计算机上的某些内核尚未执行此操作)

首先,您应该尝试以下任何一组命令启用双指scrooling:

 synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=1 synclient EmulateTwoFingerMinW=5 synclient EmulateTwoFingerMinZ=48 

如果它可以工作,那么您可以创建一个脚本来按照此处的建议启用它,或者使用xorg.conf

资源:

  • mixeduperic.com
  • Ubuntu论坛