I'm remap Cmd key behaviour to act like a Ctrl with xmodmap. All works fine, but in some cases xmodmap loose my custom settings and return to defaults. I.e. when i'm pressing Ctrl-Space (change keyboard layout in my case) or when i'm focus Skype chat window. Any suggestion why this happens and how to avoid it?