重映射 Caps Lock

经常将Caps Lock键错按成TabShift,于是把它换成Ctrl

from askubuntu.com

sudo vim /etc/default/keyboard

then find the line that starts with XKBOPTIONS, and add ctrl:nocaps to make Caps Lock an additional Control key.
For example,

XKBOPTIONS="lv3:ralt_alt,compose:menu,ctrl:nocaps"

then run

sudo dpkg-reconfigure keyboard-configuration

发表评论

电子邮件地址不会被公开。 必填项已用*标注