ubuntu1604 将capslock修改为Control
- 方法
方法
sudo vi /etc/default/keyboard
修改XKBOPTIONS的值为"ctrl:nocaps"
# KEYBOARD CONFIGURATION FILE# Consult the keyboard(5) manual page.XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS="ctrl:nocaps"BACKSPACE="guess"
sudo reboot