2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/xev

4 lines
160 B
Plaintext
Raw Normal View History

# 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 }'