如果您有Dell,则有解决方案。即使您没有戴尔笔记本电脑,这也可能适用,只要您更新某些步骤即可。我有一个Dell Inpsiron 13 7000系列,以下解决方案非常适合我。
这些说明直接来自Dell在本文Precision / XPS:Ubuntu通用触摸板/鼠标问题修复中。问题似乎是Synaptics驱动程序会覆盖Dell的驱动程序。您需要禁用Synaptics。
第一部分为我带来了奇迹。这是他们建议添加的脚本sudo gedit /usr/share/X11/xorg.conf.d/51-synaptics-quirks.conf
。我不建议遵循公认的答案,因为这似乎会引起其他问题。
# Disable generic Synaptics device, as we're using
# "DLL0704:01 06CB:76AE Touchpad"
# Having multiple touchpad devices running confuses syndaemon
Section "InputClass"
Identifier "SynPS/2 Synaptics TouchPad"
MatchProduct "SynPS/2 Synaptics TouchPad"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "on"
EndSection
为了进行兼容性比较,我使用了具有以下功能的Dell Inspiron 13 7000系列: xinput list
jonathan@Dell:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=13 [slave pointer (2)]
⎜ ↳ DELL0741:00 06CB:7E7E Touchpad id=14 [slave pointer (2)]
...
Synaptics不在该列表中,因为上述脚本已将其禁用。在添加此脚本之前,我建议运行xinput --test <id>"
(对我来说14
)。如果您在终端上获得输出,则表明您的设备正在运行(您的设备处于“开启”状态)。
重新启动后,您将需要libinput
使用以下命令进行安装sudo apt-get install xserver-xorg-input-libinput libinput-tools
。
之后libinput
安装,则需要更新sudo gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
按照您preferrences。例如这是我的
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "Tapping" "True"
Option "TapingDrag" "True"
Option "DisableWhileTyping" "True"
Option "AccelProfile" "adaptive"
Option "NaturalScrolling" "True"
Option "AccelSpeed" "0.2"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
就是这样,不再需要灵敏的触摸板!