12 Sep 2011
结果很简单,过程很曲折,完整的代码如下,将其放入 ~/.Xmodmap 中即可:
~/.Xmodmap
!add capsLK additional ctrl remove lock = Caps_Lock add control = Caps_Lock keycode 66 = Control_L
PS: keycode 66 就是CapsLk键
参考资料: CSDN xmodmap修改键映射 Remap Caps Lock
参考资料: