我的内置键盘有点麻烦,以前使用 Linux-mint 时我常常sudo xinput float [slave_keyboard_ID]
禁用内置键盘。
但是在Ubuntu中我遇到的麻烦如下:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
X Error of failed request: XI_BadDevice (invalid Device parameter)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 43 ()
Device id in failed request: 0x5
Serial number of failed request: 18
Current serial number in output stream: 19
最简单的解决方法是什么?提前致谢。
我当前的 Ubuntu 版本的详细信息:
Static hostname: system
Icon name: computer-laptop
Chassis: laptop
Machine ID: db03e28ec7144744a8cc42fa4e690db4
Boot ID: 94934741906c48569a453842e0cb1953
Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-56-generic
Architecture: x86-64
Hardware Vendor: Lenovo
Hardware Model: Lenovo ideapad 300-15ISK