How can I configure a Chinese input method?

20,102

Solution 1

Install the package iBus from the kubuntu repository, info here: http://code.google.com/p/ibus/. This is just an input method and doesn't change your system settings.

  • for pinyin input install ibus-pinyin
  • for handwriting recognition install ibus-tegaki
  • the fonts are available from the package language-pack-kde-zh-hans

Afterwards go to your system preferences and change input method to iBus.

If you are learning, I would suggest two more programs you might already know:

Anki (for learning flashcards)

In Anki you can use a very helpful plugin called pinyin-toolkit (http://ankisrs.net)

Eclectus (an offline dictionary)

Eclectus can use tegaki for handwriting input as well. You can install audiopack (made from swac collections) and strokeorder-fonts. You need to install the marcspitz/eclectus PPA for those packages. The original Eclectus (as well on launchpad) doesn't work on 11.4.

Enjoy learning!
Marcus

Solution 2

You may want to take a look here

I had exactly same problem as yours but thanks to your post and webmarwells reply I have found a solution :)

What was missing was the trigger to actually start the input of pinyin.

So after playing with ibus-setup etc, I did:

 sudo apt-get update 
 sudo apt-get install ibus-gtk ibus-qt4 ibus-pinyin ibus-pinyin-db-open-phrase  

I have also installed packages for ibus-chewing - as I noticed the name of that on the ibus site

then

 im-switch -s ibus

Log out and log in again!

Solution 3

I'm still having this problem (iBus is apparently running, and I can select it as an input, but the pinyin input doesn't actually work) several years later, on Lubuntu 18.04. I believe the current best solution is to follow the instructions at

to install any supporting packages which might be missing. They are:

sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
sudo apt-get install ibus-pinyin # or other engine(s) you want
im-switch -s ibus
# logout and re-login
ibus-setup # add input methods you want

(Support is still quite selective; it works in Firefox, but not Vivaldi, which is not the case when I've run it on other Ubuntu distros.)

Share:
20,102

Related videos on Youtube

Little Bobby Tables
Author by

Little Bobby Tables

Updated on September 18, 2022

Comments

  • Little Bobby Tables
    Little Bobby Tables over 1 year

    How can I configure a Chinese input method for KDE? I don't want a Chinese locale, just to write Chinese characters, mainly for learning purposes. (I'm still learning the language, so switching the entire UI to Chinese is not an option...)

    Google search results are inconclusive, and from what I understood, not specific to newer versions of KDE.

    Details: Kubuntu 11.04, KDE 4.6

  • Little Bobby Tables
    Little Bobby Tables over 12 years
    Thanks! However, ibus appears to be installed on my system (from the distro repo), and even seems running, but I don't find where to control it. There's no input method icon, and in the system settings there is no entry for input method
  • Admin
    Admin about 5 years
    Please include the essential parts of the answer here.
  • Dims
    Dims over 4 years
    im-switch: command not found
  • Tsundoku
    Tsundoku over 4 years
    So what do you do when you get the error message im-switch: command not found?