Scripting

Multimedia Keycodes

How to find out the keys your multimedia keyboard is reporting to the OS.

Use xev - run the command:

xev |grep -iA2 release

Each time you press and release a key you should see 3 lines appear on the console. The bottom line will have the 'keycode' parameter which is what you are looking for.