Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu Natty 2011.04 from scratch, and then mozc (Google's IME, which I prefer to other options) which provides Japanese input.

It works in all applications EXCEPT Qt-based applications like Opera, Anki, ksnapshot, ...

How can I fix it, so that I can type Japanese in Qt/KDE applications as well?

share|improve this question
Opera is not a Qt application anymore, and might not work with just about any input method (maybe ibus, but no guarantee). – RolandiXor Jul 4 '11 at 13:32
up vote 3 down vote accepted

Installing ibus-qt4, then logging out and back in fixed it for me. I also found this thread:

share|improve this answer

Mozc can be used by QT applications, if you will install ibus-qt4 :

sudo apt-get install ibus-qt4

and an environment variable will be changed by using this comannd :

export QT_IM_MODULE=ibus

If you want to set up this to an global environment variable, describes as follows to ~/.xprofile.

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export XIM_PROGRAM=/usr/bin/ibus-daemon
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.