--- rules/base.orig 2007-07-11 19:57:29.000000000 -0300 +++ rules/base 2007-12-24 11:31:17.000000000 -0200 @@ -810,6 +810,7 @@ caps:capslock = +capslock(capslock) caps:shiftlock = +capslock(shiftlock) caps:grouplock = +capslock(grouplock) + caps:swapescape = +capslock(swapescape) ctrl:nocaps = +ctrl(nocaps) ctrl:swapcaps = +ctrl(swapcaps) ctrl:ctrl_ac = +ctrl(ctrl_ac) --- symbols/capslock.orig 2004-10-09 14:31:42.000000000 -0300 +++ symbols/capslock 2007-12-26 12:38:49.000000000 -0200 @@ -17,3 +17,8 @@ key { [ ISO_Next_Group, Caps_Lock ] }; }; +partial hidden modifier_keys +xkb_symbols "swapescape" { + key { [ Escape ] }; + key { [ Caps_Lock ] }; +};