我正在尝试修改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