(base) art_usr@artem--ubuntu:~$ xinput --list
在运行 Ubuntu 22.04 的 HP x360 specter 上,无论我的外部 USB 键盘是否插入,都会出现以下输出。没有AT Translated Set 2 keyboard
设备,如这个帖子。如果我想禁用内置键盘,我应该使用什么 ID?
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:18 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:18 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:18 id=8 [slave pointer (2)]
⎜ ↳ xwayland-touch:18 id=10 [slave pointer (2)]
⎜ ↳ xwayland-tablet stylus:18 id=11 [slave pointer (2)]
⎜ ↳ xwayland-tablet eraser:18 id=12 [slave pointer (2)]
⎜ ↳ xwayland-tablet cursor:18 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:18 id=9 [slave keyboard (3)]