I want CTRL to be my personal modifier for my bindings and CAPSLOCK to act as CTRL only in Emacs. Most of the material out there shows you how to swap these two modifiers. However, since I use CTRL outside of Emacs regularly, changing the meaning of CTRL in OS level is not something I desire.
Is there any way to do it?
OS: Debian Wheezy (amd64), Gnome 3.4.2
focus-{in,out}-hook
variables which perhaps can be used to switch the keyboard layout usingxmodmap
. – politza Apr 16 '15 at 19:29