最近,我的笔记本电脑上的两指滚动功能停止工作。可能之前应用了一些小更新,但与指点设备无关。这是在 Ubuntu 的一个相当新的安装上发生的,因为我遇到了不相关的问题,并决定从头开始。在尝试修复滚动问题的过程中,我注意到,在 中Settings > Mouse & Touchpad
,没有像我以前所知道的那样有鼠标垫特定的选项(我不记得他们具体说了什么,我想我可以在编辑鼠标和触摸板的设置之间进行选择)。我尝试了下面列出的命令,但问题仍然存在。
sudo apt remove gnome-control-center
sudo apt-get install gnome-control-center
我也关注了这里一个非常相似的问题的答案:缺少鼠标和触摸板单独设置。但是,这些方法都不起作用,而且由于这是几年前和 Ubuntu 的几个版本之前的事情,可能有些事情已经发生了变化。如果有人能解决总体的两指滚动问题,那也将不胜感激。
xinput
我已将和的输出列xinput list-props 19
在下面。触摸板ELAN0406:00 04F3:30A6 鼠标在 ID 19。
$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Blade Keyboard id=15 [slave pointer (2)]
⎜ ↳ Razer Razer Blade id=16 [slave pointer (2)]
⎜ ↳ ELAN0406:00 04F3:30A6 Mouse id=19 [slave pointer (2)]
⎜ ↳ USB Gaming Mouse Consumer Control id=11 [slave pointer (2)]
⎜ ↳ USB Gaming Mouse id=21 [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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ Razer Razer Blade id=14 [slave keyboard (3)]
↳ Integrated RGB Camera: Integrat id=17 [slave keyboard (3)]
↳ Integrated RGB Camera: Integrat id=18 [slave keyboard (3)]
↳ Intel HID events id=20 [slave keyboard (3)]
↳ Razer Razer Blade Keyboard id=22 [slave keyboard (3)]
↳ USB Gaming Mouse Consumer Control id=12 [slave keyboard (3)]
↳ USB Gaming Mouse id=13 [slave keyboard (3)]
$ xinput list-props 19
Device 'ELAN0406:00 04F3:30A6 Mouse':
Device Enabled (204): 1
Coordinate Transformation Matrix (206): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (339): 0
libinput Natural Scrolling Enabled Default (340): 0
libinput Scroll Methods Available (341): 0, 0, 1
libinput Scroll Method Enabled (342): 0, 0, 1
libinput Scroll Method Enabled Default (343): 0, 0, 1
libinput Button Scrolling Button (344): 3
libinput Button Scrolling Button Default (345): 3
libinput Button Scrolling Button Lock Enabled (346): 0
libinput Button Scrolling Button Lock Enabled Default (347): 0
libinput Accel Speed (350): 0.000000
libinput Accel Speed Default (351): 0.000000
libinput Accel Profiles Available (352): 1, 1
libinput Accel Profile Enabled (353): 1, 0
libinput Accel Profile Enabled Default (354): 1, 0
libinput Left Handed Enabled (355): 0
libinput Left Handed Enabled Default (356): 0
libinput Send Events Modes Available (324): 1, 0
libinput Send Events Mode Enabled (325): 0, 0
libinput Send Events Mode Enabled Default (326): 0, 0
Device Node (327): "/dev/input/event4"
Device Product ID (328): 1267, 12454
libinput Drag Lock Buttons (357): <no items>
libinput Horizontal Scroll Enabled (358): 1
libinput Scrolling Pixel Distance (359): 15
libinput Scrolling Pixel Distance Default (360): 15
libinput High Resolution Wheel Scroll Enabled (361): 1
提前致谢!