10

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

4 Answers 4

4

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

1
  • 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 Aug 29, 2011 at 14:36
3

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!

2
  • 2
    im-switch: command not found
    – Dims
    Nov 14, 2019 at 13:28
  • So what do you do when you get the error message im-switch: command not found?
    – Tsundoku
    Feb 11, 2020 at 17:28
1

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.)

1
  • Please include the essential parts of the answer here.
    – user833907
    Apr 10, 2019 at 3:11
0

Below codes work for me

$ sudo add-apt-repository ppa:takao-fujiwara/ppa
$ sudo apt-get update
$ sudo apt-get install libinput-pad1
$ sudo apt-get install input-pad
$ sudo apt-get install ibus-input-pad

Source : Installation on Ubuntu Source : Switch to another input method

Update to latest version

wget https://github.com/ibus/ibus/releases/download/1.5.24/ibus-1.5.24.tar.gz
tar -xzf ibus-1.5.24.tar.gz
cd ibus-1.5.24
#sudo apt-get install gtk+-2.0 ##if not installed
#sudo apt-get install libdconf-dev libnotify-dev ##if not installed
#wget https://www.unicode.org/Public/UNIDATA/NamesList.txt
#wget https://www.unicode.org/Public/UNIDATA/emoji-data.txt
#wget https://www.unicode.org/Public/UNIDATA/Blocks.txt
#mv NamesList.txt /usr/share/unicode/ucd/NamesList.txt
#mv emoji-data.txt /usr/share/unicode/ucd/emoji-data.txt
#mv Blocks.txt /usr/share/unicode/ucd/Blocks.txt
./configure
make
sudo make install

Source Package : ibus 1.5.24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .