首次使用 Ubuntu 的用户。在 XPS 9360 上使用 16.04。
简而言之,我想在打字时禁用触摸板。
已遵循这些页面上的许多建议,包括:
- Synaptics 已经存在(xserver-xorg-input-synaptics-hwe-16.04)
- 安装了 touchegg(我也想有三指手势)
- 安装了 libintput (xserver-xorg-input-libinput-hwe-16.04)(基于这)
- 基于以下配置文件进行修改(必须创建新文件夹等)这
在此过程中,我失去了键盘和触摸板的功能,不得不进入 root 模式来撤消一些先前的更改。我找回了触摸板,但不得不进行一些安装更改(忘记了这些更改)才能找回键盘。
现在,我想再次尝试正确配置 libinput,并删除 synaptics(这是正确的方法吗?),但我担心更改配置文件或再次失去对桌面的访问权限。任何建议都将非常有帮助。
以下信息可能会有所帮助。如果我可以提供更多详细信息,请告诉我。非常感谢您的帮助!
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL082A:01 06CB:76AF Touchpad id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=17 [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: Integrate id=10 [slave keyboard (3)]
↳ Intel Virtual Button driver id=12 [slave keyboard (3)]
↳ Intel HID events id=13 [slave keyboard (3)]
↳ Intel HID 5 button array id=14 [slave keyboard (3)]
↳ Dell WMI hotkeys id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
$ dpkg -s xserver-xorg-input-synaptics-hwe-16.04
Package: xserver-xorg-input-synaptics-hwe-16.04
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 179
Maintainer: Ubuntu X-SWAT <[email protected]>
Architecture: amd64
Version: 1.9.0-1ubuntu1~16.04.1
Replaces: xorg-driver-synaptics, xserver-xorg-input-synaptics
Provides: xorg-driver-input, xorg-driver-synaptics, xorg-renamed-package, xorg-renamed-package-hwe-16.04, xserver-xorg-input-synaptics
Depends: libc6 (>= 2.15), libevdev2 (>= 1.3), libx11-6, libxi6 (>= 2:1.2.0), libxtst6, xorg-input-abi-24, xserver-xorg-core-hwe-16.04 (>= 2:1.18.99.901)
Suggests: gpointing-device-settings, touchfreeze
Breaks: kde-config-touchpad (<< 0.8.1-2~)
Conflicts: xorg-driver-synaptics, xserver-xorg-input-synaptics
Description: Synaptics TouchPad driver for X.Org server
This package provides an input driver for the X.Org X server to enable
advanced features of the Synaptics Touchpad including:
.
* Movement with adjustable, non-linear acceleration and speed
* Button events through short touching of the touchpad
* Double-Button events through double short touching of the touchpad
* Dragging through short touching and holding down the finger on the touchpad
* Middle and right button events on the upper and lower corner of the touchpad
* Vertical scrolling (button four and five events) through moving the finger
on the right side of the touchpad
* The up/down button sends button four/five events
* Horizontal scrolling (button six and seven events) through moving the finger
on the lower side of the touchpad
* The multi-buttons send button four/five events, and six/seven events for
horizontal scrolling
* Adjustable finger detection
* Multifinger taps: two finger for middle button and three finger for right
button events. (Needs hardware support. Not all models implement this
feature.)
* Run-time configuration using shared memory. This means you can change
parameter settings without restarting the X server (see synclient(1)).
* It also provides a daemon to disable touchpad while typing at the keyboard
and thus avoid unwanted mouse movements (see syndaemon(1)).
Original-Maintainer: Debian X Strike Force <[email protected]>
dpkg -s xserver-xorg-input-libinput-hwe-16.04
Package: xserver-xorg-input-libinput-hwe-16.04
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 105
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Version: 0.25.0-0ubuntu1~16.04.1
Replaces: xserver-xorg-input-libinput
Provides: xorg-driver-input, xorg-renamed-package, xorg-renamed-package-hwe-16.04, xserver-xorg-input-libinput
Depends: libc6 (>= 2.7), libinput10 (>= 1.5.0), xorg-input-abi-24, xserver-xorg-core-hwe-16.04 (>= 2:1.18.99.901)
Conflicts: xserver-xorg-input-libinput
Description: X.Org X server -- libinput input driver
This package provides the driver for input devices using libinput library.
It can handle keyboards, mice and touchpads, and essentially replaces the
separate -evdev and -synaptics drivers.
.
This package is built from the X.org xf86-input-libinput driver module.
Homepage: https://www.x.org
Original-Maintainer: Debian X Strike Force <[email protected]>
$ dpkg -s touchegg
Package: touchegg
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 184
Maintainer: Kubuntu Developers <[email protected]>
Architecture: amd64
Version: 1.1.1-0ubuntu1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgeis1 (>= 2.0.1), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), libx11-6, libxtst6
Description: Multitouch gesture recognizer
Touchégg is a cross-platform multitouch gesture recognizer
that allows associating actions to each gesture.
Homepage: http://code.google.com/p/touchegg
$ ls ~/../../etc/X11/xorg.conf.d/
70-synaptics.conf
$ ls ~/../../usr/share/X11/xorg.conf.d/
10-amdgpu.conf 10-quirks.conf 11-evdev-quirks.conf 30.libinput.conf 51-synaptics-quirks.conf 70-wacom.conf
10-evdev.conf 10-radeon.conf 11-evdev-trackpoint.conf 40-libinput.conf 70-synaptics.conf
答案1
我不确定如何恢复您的系统配置,但为了禁用触摸板,笔记本电脑通常有一个原生的特殊组合键。(带有蓝色的 FN 键)。(在我的东芝笔记本电脑上,它是 FN+F9 组合)