Get pressed keys
Commands
Command | Description |
---|---|
xev | creates a window and asks X server to send it events whenever anything happens (including mouse movement, …) |
showkey | examine the codes sent by the keyboard |
showkey -a | same as above but in ascii dump mode |