search
LoginSignup
24
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

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

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

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
24
Help us understand the problem. What are the problem?