mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-05 12:00:16 +00:00
4 lines
160 B
Plaintext
4 lines
160 B
Plaintext
# Show keycodes used by Xorg
|
|
# start xev and show only the relevant parts:
|
|
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
|