Since upgrading to 11.10, xmodmap seems to be working nowhere near as well. I would like to be able to run xmodmap after unlocking a locked screen, as it doesn't work. I have to run it from a terminal (twice). I don't want Caps_Lock or Menu keys after I log in.
Preferably, I would like xmodmap to go back to being useable. It doesn't run automatically at startup anymore like it used to. I have a script at startup that has to run it several times before it actually does things. Here is my .xmodmaprc file; hopefully somebody will be able to find something wrong:
clear mod1
clear mod3
clear mod4
clear lock
keycode 66 = Hyper_L
remove lock = Hyper_L
add mod3 = Hyper_L
keycode 133 = Alt_L
add mod1 = Alt_L
keycode 64 = Super_L
add mod4 = Super_L
keycode 135 = Super_R
add mod4 = Super_R
keycode 118 = Multi_key
Meanwhile, if fixing this file doesn't fix the problems I'm having, I would like to know how to run xmodmap after resuming from suspend or unlocking from a locked screen.