LoginSignup
1
2

More than 5 years have passed since last update.

ubuntuで日本語入力ができないとき!

Last updated at Posted at 2018-07-12

ubuntu16.04
日本語キーボード
において日本語入力がうまくできないときのメモ

参考様

VM Ubuntuでキーボードを日本語配列に - 入力がおかしい場合にkeyboard layoutがUSになっているのを変更する

設定の確認

setxkbmap -print -verbose 10

実行結果
Setting verbose level to 10
locale is C
...(略)...
model:      pc105
layout:     us
options:    grp_led:scroll
...(略)...
};

以上のようになっていたとき、「layout: us」を「layout: ja」に変更するとキーボードのレイアウトを日本語のものとして認識する。。。。。はず。。。。

レイアウト設定の変更

setxkbmap -layout jp
setxkbmap -print -verbose 10

実行結果
Setting verbose level to 10
locale is C
...(略)...
model:      pc105
layout:     jp,us
variant:    ,
options:    grp_led:scroll
...(略)...
};

このとき、Mozcの入力メソッドが日本語以外だと半角キーで英語と日本語の切り替えができないので、こちらで紹介されているようなやり方で変更してください。

...

1
2
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
1
2