美文网首页
更改 Linux 键盘布局

更改 Linux 键盘布局

作者: 美丽人生Rene | 来源:发表于2016-08-19 21:17 被阅读0次

    需求:在 ThinkPad 键盘上,无法打出|(竖线)。并且,双引号的位置也是错的。错误的原因在于默认的键盘布局,是 “gb”,所以,修改键盘布局可以解决这个问题。

    环境:CentOS 7.0,在 root 权限下

    输入:localectl set-keycap us

    可以修改键盘布局

    输入:localectl status

    可以确认当前的键盘布局

    相关文章

      网友评论

          本文标题:更改 Linux 键盘布局

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