I need some clarification:
When I start xev
in a terminal, and use Super, I get the following output. What is the meaning of this?
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 36, synthetic NO, window 0x2000001,
mode NotifyUngrab, detail NotifyNonlinear
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 93 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
So after researching online for some time, here's my understanding of the output's meaning:
Take a look at the KeyPress and KeyRelease events from a letter key, like
m
.It has the keycode and reports the window id where the key has been pressed.
Function keys, like Fn+F6, which actually is the brightness decrease key, output no such information. They report 0x0 id for the window and no keykode. Thus, it means these keys cannot be reassigned and are controlled by software , like the X server or console; they are dependent on the environment in which they run. Which also somewhat explains why the Super key may or may not work within a particular desktop environment - it's up to the developers to include functionality of that key into their desktop environment.