Linux: 键码为 255 的按键事件的来源是什么?
Linux: what's the source of keypress event with keycode 255?
这是一台笔记本电脑 运行ning Gentoo Linux,amd64。问题是有些东西会自动生成以下类型的按键事件(使用 xev
实用程序捕获):
KeyPress event, serial 49, synthetic NO, window 0x3e00001,
root 0xf5, subw 0x0, time 1465436, (1196,-210), root:(1198,406),
state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
这在终端 window 中尤其会导致恼人的问题,在按键时将自动滚动配置为 运行 - 它会在大约 15 秒后向下滚动到命令提示符。
我想找到这个事件的来源,然后禁用它。
内核配置:https://drive.google.com/file/d/0B4T1g89tYDs0UkhSX1ZmMW5ZeXc/view?usp=sharing
Use xinput list
to determine the input devices that are present on your system.
Next, use xinput test
or xinput test-xi2
to monitor individual events from any input device.
查看此 answer 了解详情。
这是一台笔记本电脑 运行ning Gentoo Linux,amd64。问题是有些东西会自动生成以下类型的按键事件(使用 xev
实用程序捕获):
KeyPress event, serial 49, synthetic NO, window 0x3e00001,
root 0xf5, subw 0x0, time 1465436, (1196,-210), root:(1198,406),
state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
这在终端 window 中尤其会导致恼人的问题,在按键时将自动滚动配置为 运行 - 它会在大约 15 秒后向下滚动到命令提示符。
我想找到这个事件的来源,然后禁用它。
内核配置:https://drive.google.com/file/d/0B4T1g89tYDs0UkhSX1ZmMW5ZeXc/view?usp=sharing
Use
xinput list
to determine the input devices that are present on your system.Next, use
xinput test
orxinput test-xi2
to monitor individual events from any input device.
查看此 answer 了解详情。