我正在尝试修改yeahconsole以在按下弹出键时显示,我尝试了XF86XK_Eject、Eject、XK_Eject 和其他组合,但它似乎不起作用。
这里是关键代码的 xev 输出
KeyRelease event, serial 40, synthetic NO, window 0x2600001,
root 0xbb, subw 0x0, time 5629995, (162,-8), root:(1183,516),
state 0x0, keycode 169 (keysym 0x1008ff2c, XF86Eject), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
这是c代码
https://github.com/jagguli/yeahconsole/blob/master/yeahconsole.c