remove Lock = Caps_Lock keysym Caps_Lock = Control_L add Control = Control_L remove Control = Control_R keysym Control_R = Caps_Lock add Lock = Caps_Lock