Make CapsLK as an additional Ctrl @ Ubuntu 14.04+

来源:互联网 发布:java随机生成5个字母 编辑:程序博客网 时间:2024/06/01 16:37

very simple .....

sudo vi /etc/default/keyboard

# Check /usr/share/doc/keyboard-configuration/README.Debian for# documentation on what to do after having modified this file.# The following variables describe your keyboard and can have the same# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options# in /etc/X11/xorg.conf.XKBMODEL="pc105"XKBLAYOUT="us"XKBVARIANT=""XKBOPTIONS=<span style="color:#FF0000;">"<span style="background-color: rgb(255, 255, 255);">ctrl:nocaps"</span></span># If you don't want to use the XKB layout on the console, you can# specify an alternative keymap.  Make sure it will be accessible# before /usr is mounted.# KMAP=/etc/console-setup/defkeymap.kmap.gz~                                           


0 0
原创粉丝点击