Update: Instructions for Ubuntu 18.04 can be found here.
This is a follow-up on the former articles "Writing Japanese with Ubuntu 14.04 Trusty Tahr", "Writing Japanese with Ubuntu 12.04 Precise Pangolin" and "Writing Japanese with Ubuntu 10.04 Lucid Lynx".
Compared to Ubuntu 14.04 Trusty Tahr, setting up the Japanese input in Ubuntu again became simpler and better integrated. The default Japanese Input Method is now Mozc (the open-source component of Google's Japanese IME, which is used in Android and Chrome OS) instead of Anthy and I won't explain how to set up Anthy anymore since Mozc really works great.
The installation is actually very simple with one little stumbling stone which I will guide you over so you won't trip. So let's start:
- Because Mozc is not installed with the base-system, you have to install the Japanese language support first. Otherwise Mozc won't be available as input-method in the Text Entry settings. Additionally this will install some nice Japanese fonts and Japanese translations for Ubuntu if you ever want to use your System in Japanese. So let's begin by opening the System Settings and then the Language Support.
- If you get a message saying that the language support is not installed completely, you can either ignore it or let it install documentations and translations for the other installed languages on your system. In the Language Support-window, click on "Install / Remove Languages...".
- Scroll down or type "J" and check the checkbox next to Japanese in the "Installed"-column. After this, click on "Apply Changes".
- Next you have to enter your password.
- The necessary packages will now be downloaded and installed. Nothing to do for you in this step, but you can already start to save open documents and close unused windows in preparation for the next one. :-)
- After the Japanese language support is installed, you have to log out. This is the small stumbling stone I mentioned before. For Mozc to show up in the list of input-methods, the session needs to be restarted. This is really kind of annoying but there's nothing you can do about that at this point. :-(
- Once you did a logout / login-cycle, open the System Settings and click on Text Entry.
- In the "Text Entry"-window, click on the small Plus-sign at the bottom of "Input sources to use".
- Select the entry "Japanese (Mozc) (IBus)" from the list and click on "Add".
- "Japanese (Mozc) (IBus)" should now show up inside the "Text Entry"-window and Mozc should be available in the menu-bar's menu. You probably want to change the setting "Use the same source for all windows" to "Allow different sources for each window" and switch to "New windows use the default source". Additionally you eventually want to reassign the key to switch to the next input source. I normally use the "Pause"-key to toggle between languages.
- Now fire up some text-editor and try it by clicking on "Mozc" in the text entry menu, set the input mode to hiragana and type some japanese. Switching between candidates is done by pressing the spacebar and katakana-conversion is done by pressing F7.
I hope, this article answered all your first questions regarding Japanese input in Ubuntu.
If this article was useful to you, you might also be interested in my (short) list of Japanese learning materials and software for Linux and how to type specific symbols and radicals in Mozc / Google’s Japanese IME.
This helped me. Thank you!
Thank you for the tutorial! Setting Japanese input on Ubuntu was easier than I expected.
Vielen Dank für deine Hilfe!
thanks a lot
Lovely, this helped!
Thank you,I was looking a long time for a tutorial like this, good job.
Thank you! I’d been trying to work this out for a while without success. Now all is good in the world!
Hey and thanks for the instructions! I’m getting a little desperate here: I’ve followed all the steps (including logging off and on or even rebooting), but I don’t get the option “Japanese Mozc Ibus” in my language settings, no matter what I do. Any ideas?
@Sophie
Test whether the entry shows up in a guest session. If the entry shows up there, then deleting the folder ~/.config/ibus and a
dconf reset -f /desktop/ibus/
in a terminal might help for the user account. Else make sure that the package ibus-mozc is installed.
I couldn’t figure out how to do it. This helped me a lot! Thank you.
No podía descubrir como hacerlo. ¡Esto fue de mucha ayuda! Muchas gracias.
This worked ! Perfect. Thank you for helping.
Thank you! It helped a lot.
It worked fine on 16.10 too. Thanks for the hint!
Thanks! your instruction was really helpful. i don’t know in detail about IBus, but it somehow seems me a part of critical procedure to select out “IBus” from an input method list.
i was really in jam for the hindrance from inputting my mother-tongue. Now I’ve emancipated like this:本当に助かったよ、ありがとう!拙い俺の英語が込めた意を伝えることを祈ってるぜ。bye!
リターン前に入力設定がIBusになっているかどうか確認したほうが良いみたい。
worked very well, great. Thank you!
Thanks for the explanation.
But there’s a problem: After I select Japanese in the “Add/Remove Languages…” section and click apply, it downloads all the packages except for one: the firefox-ja-locale (Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-locale-ja_52.0.2+build1-0ubuntu0.16.04.1_amd64.deb 404 Not Found). The file doesn’t exist anymore on the ubuntu-server. How can I still add Japanese input? I tried downloading the mozs-files through the repository, but I still can’t select mozs in the Text Entry Settings… What can I do?
Thanks in advance
Silf
i installed it in linux mint 18.1 xfce, and all is working except i get no dropdown menu. if i press the space bar, it runs through the same options as in your example above, but it does not show up in a dropdown menu. i would very much like to have the dropdown menu show up. any guidance on how to set it up, or is this an issue with xfce.
in anycase あいがとございます
Thank’s a lot. It worked fine!
Thanks a lot, worked perfectly and your tutorial gets right to the point!
Thanks a lot. It worked perfectly.
Thank you for your help.
Really thank you for this!
I can only repeat: Thanks a lot, worked perfectly and your tutorial gets right to the point!
If “Japanese (Mozc) (IBus)” doesn’t show up in the list install the anthy package.
sudo apt-get install anthy
This is a real newby question but I can’t find the system settings section of my computer. could anyone help?
Yeah that did it….so greatfulllll !
Thanks a lot!
In my Xubuntu 16.04 Xenial Xaurus, I didnt see Text Entry anywhere. IBus Preferences appears to be the replacement or equivalent.
I dumped Anthy and got my Japanese input working thanks to you!
どもありがと!
In my Ubuntu 16.04 I had to Open Mozc settings (Super+A, write Mozc and select the app from the Dashboard) and in General > Basics > Input mode, set it to romaji (not kana) in order to type the characters using the romaji transcription of the character (i.e go becomes ご and not きら). My guess is that otherwise a character map is loaded i.e each key gets assigned a character, but I found this much less convenient.
ありがろうございます!!!!
I need to use the kana keyboard, not the romaji keyboard. I mean, I am Colombian and it is easier for me to type Japanese in Roman alphabet instead of kana, but I own a computer bought in Japan with the regular qwerty keyboard but also with the kana characters on the corresponding key, but it still won’t allow me to set up the kana input, which is what I want.
Thank you in advance.
Despite things looking a little bit different in Debian GNU/Linux 9 (Stretch) with Xfce, this post helped me figure out what I needed to do. どもありがとうございます。