![](/img/trans.png)
[英]what's the random byte mentioned in linux `shuf` --random-source?
[英]Linux: what's the source of keypress event with keycode 255?
這是一台運行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
這尤其會在終端窗口中引起惱人的問題,該終端窗口將自動滾動配置為在按鍵上運行-在大約15秒鍾后向下滾動到命令提示符。
我想找到此事件的來源,然后將其禁用。
內核配置: https : //drive.google.com/file/d/0B4T1g89tYDs0UkhSX1ZmMW5ZeXc/view?usp=sharing
使用
xinput list
確定系統上存在的輸入設備。接下來,使用
xinput test
或xinput test-xi2
監視來自任何輸入設備的單個事件。
查看此答案以獲取詳細信息。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.