在我的“鼠标和Touchpad”设置中,我根本没有“双指滚动”选项。我已经尝试了很多终端命令,我在论坛上找到了,但没有成功。谁有一个解决方案来支持双指滚动?
关于我的一点:
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)]系统设置截图:

发布于 2016-08-14 21:06:51
不要浪费太多的时间等待GUI配置器赶上硬件。学习在文本文件中设置信任或在终端中进行交互。下面是如何实现的。
如果synclient返回未找到的属性消息,这意味着您的系统使用libinput而不是synaptics作为驱动程序。检查你的/etc/X11/xorg.conf.d,如果里面什么都没有,我希望一个Ubuntu系统使用synaptics,所以我很惊讶你没有从"synclient -l“或shch中得到任何回报。但是在Fedora上,默认情况是使用libinput,所以您的配置可能正在浏览新的一波。
如果您正在运行libinput驱动程序,则可以通过运行
xinput list-props 1515是你触控板设备的名字。如果你得到这样的输出,就像我在使用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): <no items>
libinput Horizonal Scroll Enabled (262):您可能会考虑让libinput发挥作用,但是如果您不想这样做,下面是使用synaptics的方法。
若要使系统使用synaptics驱动程序,请复制此文件
/usr/share/X11/xorg.conf.d/50-synaptics.conf 转入/etc/x11/xorg.con.d。将其重命名,将其更改为50到90,以便在后面的序列中加载。如果您在/etc/X11/xorg.conf.d中有一个libinput配置文件,那么将它移到其他地方。
在syaptics配置文件中,进行一些编辑。前2节保持不变。在最后一个,你可以把你的设置。如果我使用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如果您不知道需要什么设置,可以在命令行中进行测试。找到你喜欢的,然后放进档案。LIke this
synclient -l列出所有设置,然后测试以下内容
synclient VertEdgeScroll=0 FingerHigh=30当你这样做的时候,光标马上就会有不同的反应。当然,当您更改xorg.conf.d中的设置时,您需要再次登出并登录。
现在,由于您正在(可能)使用libinput,您可以停止使用libinput,而考虑学习如何配置libinput。这是新事物,事情将(可能)的方式,以及事物现在在费多拉的方式。这是一个更不容易配置的设备,但它正试图正确的基本原理,然后忘记其余的。
libinput基本上是可用的,但它没有点击已启用的点击。您将经历与之前相同的过程,从/usr/share/x11/xorg.con.d复制一个文件,但这次要获得libinput的文件。这几乎不需要更改,只需要在最后一节中插入这一行。
Section "InputClass"
Identifier "MyTouchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on
EndSection如果你这样做,我认为你会得到两个手指拖动和其他一些基本知识。
libinput驱动程序没有那么多功能,它试图使基础正确,希望我们不会认为我们需要所有这些功能。然而,在许多设备上(你会看到到处都有人大喊大叫),自动的、简单的功能设置并不完全正确。在我的戴尔精密5510,大多数事情都很好,但自动掌上检测“禁区”是不确定的。其余的大部分都没问题。
阅读
http://who-t.blogspot.com/2016/04/why-libinput-doesnt-have-lot-of-config.html
https://wayland.freedesktop.org/libinput/doc/latest/palm_detection.html
(尽管目前还没有在某些计算机上使用一些内核来实现这一功能)
发布于 2022-12-11 20:24:03
下面是我的宏碁Nitro 5的诀窍:
发布于 2012-11-11 23:51:47
首先,如果下面的任何一组命令启用了双指滚动,那么您应该尝试:
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48如果它有效,那么您可以创建一个脚本来启用建议的这里,或者使用xorg.conf。
https://askubuntu.com/questions/215976
复制相似问题