6

I am trying to learn Japanese, and I thought that as a part of this it would be good if my computer allowed me to type in Japanese, however after installing the Japanese language packs and setting my Input Sources section to also have Japanese, when I switch to Japanese typing, unlike with other languages except English of course, it just types in the English alphabet. I also installed Korean and Russian like this and when I use those Input Sources to type I get their alphabets so it's very strange that it's giving me the English one for Japanese...

Why is this and how can I fix it? I am running Ubuntu GNOME 15.10 with GNOME 3.18 and have installed Japanese through the language-selector-gnome, though have set the Input Sources section in the gnome-control-center to Japanese.

Information Update:

The output from dpkg-query -W ibus-anthy is:

ibus-anthy 1.5.6-1

From env | grep -E 'XMOD|IM_MODULE' is:

CLUTTER_IM_MODULE=xim
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
QT4_IM_MODULE=xim
GTK_IM_MODULE=ibus

And from ps -A | grep ibus is:

 1714 tty7 00:00:00 ibus-daemon
 1720 tty7 00:00:00 ibus-dconf
 1722 tty7 00:00:00 ibus-x11
 1811 tty7 00:00:00 ibus-engine-sim
 1925 ? 00:00:28 ibus-daemon
 1958 ? 00:00:00 ibus-dconf
 1961 ? 00:00:00 ibus-ui-gtk3
 1967 ? 00:00:00 ibus-x11
 1975 ? 00:00:07 ibus-engine-sim
 2291 ? 00:00:00 ibus-engine-han

1 Answers1

5

I found that multiple ibus-deamon instances were running and some other processes too, some of these would have been started by im-config, and then the other duplicate ones are likely to have been started directly or indirectly through the language-selector-gnome, so doing the following fixes the issue:

  1. Purge the language-selector-gnome (sudo apt-get purge language-selector-gnome).

  2. Reboot the machine.

  3. If you now go into the gnome-control-center's Region & Language section you should find that you can now add Japanese (Anthy) as an Input Source.

  4. So now when you set Japanese (Anthy) as your input source it you should be able to type in Japanese (though for some reason the Japanese input source only types in English).


However the standard utility for installing additional language packs does not install Japanese (Anthy) by default, in order to install it you should just be able to run:

sudo apt-get install ibus-anthy

If you have trouble though you should install the language-selector-gnome, choose to install Japanese through there, and then uninstall the language-selector-gnome as you won't be able to use Japanese (Anthy) otherwise.