I am using a keyboard with the "fn" key. This is on a laptop.
So my FN + Up/down/left/right keys are mapped to brightness/volume. I would much rather them be mounted to page up/down, home/end. And map the other 4 keys to these 2. The page up/down has FN+ them for home/end. Its a shitty keyboard layout but I want to make it work.
Anyone knows how to figure out what the keycodes are and how to remap them?
Version: 10.04 x32
So here are some experiments:
Using xmodmap -pke I discovered that keycodes 122 = vol down, 123 = vol up. And I got all the info for Home/End/Page Up (next), Page Down (prior).
Now when using the vol up keys, there are no events being fired that
xev can detect.
I can remap the volume keys to
XF86AudioRaiseVolume, but once I map those two to Home/End (respectively) they don't do anything.
xev still does not pick up these events after a remap.
xmodmap -e "keycode 122 = Home"