我正在尝试通过 xinput 禁用触摸板。但我找不到触摸板的 ID……以下是 xinput 列表:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL07A9:01 044E:120B id=14 [slave pointer (2)]
⎜ ↳ GTech MI wireless mouse Mouse id=11 [slave pointer (2)]
⎜ ↳ GTech MI wireless mouse Consumer Control id=13 [slave pointer (2)]
⎜ ↳ DualPoint Stick 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)]
↳ Integrated_Webcam_HD: Integrate id=10 [slave keyboard (3)]
↳ Intel HID events id=16 [slave keyboard (3)]
↳ Intel HID 5 button array id=17 [slave keyboard (3)]
↳ Dell WMI hotkeys id=18 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
↳ GTech MI wireless mouse System Control id=12 [slave keyboard (3)]
↳ GTech MI wireless mouse Consumer Control id=20 [slave keyboard (3)]
我正在使用 dell precision 3520。有人能告诉我我的触摸板对应的 ID 是什么吗,以及你是如何知道的?
答案1
或者你可以下载“GnomeTweakTool”并在“鼠标和键盘”>“点击模拟”下停用它
答案2
您的笔记本电脑使用的触摸板是主指针下的长序列(DLL07A9...),并且具有id=14
。您可以在此页面上验证它https://certification.ubuntu.com/catalog/component/input:DLL07A9:01044E:120B。
禁用方法:
xinput set-prop 14 "Device Enabled" 0