LoginSignup
85

More than 5 years have passed since last update.

centos7でキーボードレイアウト変更

Posted at

毎回忘れてしまうので覚書。

設定ファイルから

・/etc/vconsole.conf

KEYMAP="jp106"

※ systemdの採用により、キーボードの設定ファイルが/etc/sysconfig/keyboardから/etc/vconsole.confに変更になりました。

コマンドから

  • キーボード設定の表示
$ localectl status

System Locale: Lang=ja_JP.UTF-8
VC Keymap: jp106
X11 Layout: n/a
  • キーボードマッピングのリストを表示
$ localectl list-keymaps
ANSI-dvorak
amiga-de
amiga-us
applkey
  • キーマップを指定
$ localectl set-keymap jp106

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
85