I used xmodmap to switch the Caps Lock and Ctrl keys on my Thinkpad X120e. The keys are swapped but this has caused keyboard shortcuts in several applications to stop working correctly. In Libre Office Ctrl+Shift+s no longer works (but Ctrl+s and Ctrl+Shift+v do). Ctrl+Shift+S is also broken in emacs (where I have it mapped to save as) and Ctrl+N and Ctrl+Shift+N have swapped purposes (new buffer and new frame). My .xmodmap file looks as follows:
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
I used the same file on my desktop (also running Debian Wheezy) and did not experience these problems.
xevfrom a terminal and press various keys in the xev window. When you enterCtrl+Shift+N, as you pressN, what appears in the terminal?KeyPress event, serial 39, synthetic NO, window 0x4000001, root 0xaf, subw 0x0, time 5080983, (333,145), root:(942,446), state 0x5, keycode 57 (keysym 0x4e, N), same_screen YES, XLookupString gives 1 bytes: (0e) "" XmbLookupString gives 1 bytes: (0e) "" XFilterEvent returns: FalseWhile Ctrl+Shift+S yields no event when the S is pressed.