打字时我的触摸板没有被禁用,这很烦人,因为它会在我打字时将光标随机放置在其他地方。
有什么方法/插件可以让我在打字时禁用触摸板
笔记本电脑:Lenovo E450 Ubuntu:18.04(正在使用早期版本的Ubuntu)
您应该可以使用启用/禁用此功能gnome-tweak-tool
。如果您需要安装gnome-tweak-tool
,则可以通过终端进行安装:
$ sudo apt install gnome-tweak-tool
然后运行tweaks
,导航到Keyboard & Mouse
-section。在touchpad
标题下,将Disable While Typing
切换至on
。
如果仍然无法解决问题,则可以在其中添加一个新文件,/usr/share/X11/xorg.conf.d
并将其命名90-libinput-quirks.conf
为以下内容
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "DisableWhileTyping" "True"
EndSection
文件名本身有些重要,它必须以比libinput.conf
Ubuntu 18.04捆绑的文件更大的数字开头。Mine被命名,40-libinput.conf
所以我命名了Mine90-libinput-quirks.conf
以确保它是在原始配置之后加载并因此覆盖/附加原始配置。
另外,您也可以只在默认文件中的上面Option "DisableWhileTyping" "True"
的部分中添加。我不确定默认配置文件是否可以被更新之类的东西覆盖,所以我更喜欢第一种方法。Identifier "libinput touchpad catchall"
40-libinput.conf
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句