ibus and ibus-pinyin doesn't work in KUbuntu 13.10. It looks like this
$ ibus-setupERROR:root:Could not find any typelib for GtkTraceback (most recent call last):File "/usr/share/ibus/setup/main.py", line 29, in <module>from gi.repository import GtkImportError: cannot import name Gtk
The problem is a dependency package is missing. This problem can be solved by this command:
sudo apt-get install gir1.2-gtk-3.0.