LoginSignup
39
24

More than 5 years have passed since last update.

Ubuntu 16.04 CapsLockをControlに置換する方法

Posted at

Ubuntu 16.04 CapsLockをControlに置換する方法

環境によって色々な方法があるようですが,私の環境でうまくいった方法を紹介します.

環境

  • OS : Ubuntu 16.04 LTS
  • PC : Thinkpad X201s

方法

/etc/default/keyboardXKBOPTIONS="ctrl:nocaps"を記述して再起動すればOKです.

sudo vi /etc/default/keyboard
/etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="jp"
XKBVARIANT=""
XKBOPTIONS="ctrl:nocaps" 
BACKSPACE="guess"
sudo reboot
39
24
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
39
24