Xev Keycodes Guide

KeyPress event, serial 32, synthetic NO, window 0x1000001, root 0x100, subroot 0x100, time 1234567, (10,20), root:(10,20), state 0x0, keycode 36 (keysym 0x76, Return), same_screen YES

But the correct search or reference phrase as given is simply: xev keycodes

If a key isn't responding, xev can tell you if the hardware is actually sending a signal. If you press a key and xev prints nothing, the issue is likely at the hardware or kernel driver level rather than a software configuration issue. Filtering xev Output KeyPress event, serial 32, synthetic NO, window 0x1000001,

Find the keycode using xev . Let’s assume volume up is keycode 123 . In your ~/.config/i3/config : keycode 36 (keysym 0x76

Open a terminal and type:

xmodmap -e "keycode 204 = XF86AudioPlay"