How to install japanese keyboard layout on Elementary OS
In order to install japanese language keyboard layout in Elementary OS, use fcitx, but during installation choose "japanese language" instead of "chinese language". Keep in mind, that under Freya, nor ibus, nor SCIM is working properly.
First, you have to add fcitx repository:
$ sudo add-apt-repository ppa:fcitx-team/nightly
Then update your sources:
$ sudo apt-get update
After that you can install fcitx and chinese input layout:
$ sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-module-cloudpinyin fcitx-chewing fcitx-table-all
Then install im-config:
$ sudo apt-get install im-config
Then you have to configure input method with im-config
$ im-config
Next step is about choosing the right input method
After typing im-config in terminal, you will see, that second line dhows which input method is currently in use on your system. You will probably see: ibus, scim, xim or something else. In case is shows "missing, default, cjkv or auto", just keep in mind and click "OK"
On last window you have to click "Yes" and then restar your computer.
Adding new inputs:
- Open Configure
- Click on the plus at the bottom in the left corner
- Untick "Only show current Language"
- Search your favourite input method by name. For example: chewing, pinying or other
- Select it and click OK to add it
- Open any windows, hit Ctrl+space to switch language and this is all!