3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntu 20.x 日本語対応

Last updated at Posted at 2020-12-29

0. Keyboard layout

まずはキーボードレイアウトを設定

$ sudo dpkg-reconfigure keyboard-configuration

画面が切り替わったら以下の手順でキーボードを設定

Generic 105-key PC (intl.)JapaneseJapaneseThe default for the keyboard layoutNo compose keyYes

1. Japanese language

日本語入力に対応した言語セットをインストール

$ sudo apt install ibus-mozc

その後、以下を実施し、入力ソースを追加する(SettnigsはUbuntuの検索から開ける)

SettingsRegion & LanguageInput sources +JapaneseJapanese (Mozc)

2. MOZC

MOZCで使うレイアウトを指定

$ sudo vi /usr/share/ibus/component/mozc.xml

以下のように変更する

<layout>default</layout><layout>jp</layout>

3. X Desktop

$ gnome-session-properties

Addsetxkbmap jpSave

Nameは適当に、Commandにsetxkbmap jpを入れてセーブする。

最後に再起動すればWindowsキー及びスペースキーで入力ソースを切り替え、半角/全角でローマ字、ひらがなを切り替えられるはずである。

3
4
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
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?