I'm using xmodmap to swap control and command keys on my macbook pro. However, periodically the key revert back to their original state and this is becoming quite annoying.
I'm on Ubuntu 13.10 and I can remember when this situation started occurring was when the system got a keyboard settings (in the system settings) update.
Any ideas as to how to either:
1) delete the keyboard settings, or
2) stop the keyboard settings from reverting my keys
Does it happen when your PC goes to sleep? If so, make sure the keyboard is plugged into the PC and not the monitor. Xmodmap settings are not honored when keyboard devices are hotplugged.