I'm using an aluminum Apple keyboard with my Mandriva 2010.2 Linux system. I remap the Apple Command key (⌘) to control using the following .Xmodmap
file:
keycode 134 = Control_R
remove mod4 = Multi_key
add Control = Control_L Control_R Multi_key
If I allow xscreensaver
to activate and run for some time, it appears to undo this remapping. I subsequently have to run xmodmap ~/.Xmodmap
again manually.
Is there any way to avoid this? I'm using XFCE as my desktop environment.
xmodmap
settings that I successfully applied automatically on login somehow revert all by themselves. I guess a workaround is to use another method to more permanently affect the bindings but I'd really like to know who is un-setting my xmodmap, or re-applying a keymap in the middle of a session without being asked. What did you discover, @Caleb?