美文网首页
ubuntu16.04 设置CapsLock为control

ubuntu16.04 设置CapsLock为control

作者: wangss_1001 | 来源:发表于2015-08-31 15:52 被阅读0次

    打开配置文件。

    sudo emacs /etc/default/keyboard

    找到“XKBOPTIONS”,

    交换Capts Lock 与 Control键

    XKBOPTIONS="ctrl:swapcaps"

    或者设置Caps Lock为Control键

    XKBOPTIONS="ctrl:nocaps"

    最后执行 sudodpkg-reconfigure keyboard-configuration


    --------------------------------------------------------------------------------------------------------

    clear lock

    clear control

    keycode 105 = apostrophe quotedbl apostrophe quotedbl

    keycode 48 = Control_R quotedbl Control_R

    keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol

    add control = Caps_Lock Control_L Control_R

    相关文章

      网友评论

          本文标题:ubuntu16.04 设置CapsLock为control

          本文链接:https://www.haomeiwen.com/subject/qjgafttx.html