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
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.