ubuntu利用 im-config安装中文输入法

来源:互联网 发布:台湾口粮知乎 编辑:程序博客网 时间:2024/06/08 15:46
After havingmyself experienced huge amount of problems getting Freya to let metype chinese and switch input language easily, I share with you thebest and only reliable method I found so far. Nor ibus nor SCIM isworking properly under Freya as many of system options have beencut down. The best working method is to use fcitx input methodframework. The following description is suitable for many differentlanguages, including chinese (pinyin, bopomofo aka zhuyin orchewing, etc.), japanese, etc.
Time to open upyour terminal.
1. Add fcitxrepository
sudo add-apt-repositoryppa:fcitx-team/nightly
2. Update yoursources
sudo apt-get update
3. Install fcitx& chinese input
sudo apt-get install fcitx fcitx-config-gtkfcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyinfcitx-chewing fcitx-table-all
4. Installim-config
sudo apt-get installim-config
5. Configureinput method using im-config
im-config
6. Select thecorrect input method
In the windowthat opened after you typed im-config, the second line shows whichinput method is currently in use on your system. If might be :ibus, scim, xim or whatever else. If it shows "missing, default,cjkv or auto" remember it and click "Ok".
7. Update inputmethod or not ?
-> If at step6, the line Currently in use on your system was different from"missing, default, cjkv or auto", click yes andselect fcitxinput method in the window that will open then click onOk.
-> If at step6, the line Currently in use on your system was "missing, default,cjkv or auto", click on "No".
8. Last windowsClick "Yes" ;-).
Then restart yourcomputer.
You will see anew icon on the right up corner that allows you to choose yourinput.
To add wantedinputs :
1. Click onConfigure
2. In the newwindow, click on the plus at the bottom leftcorner.
3. Untick "Onlyshow current Language"
4. Search yourfavourite input method by name. For example : pinyin, chewing,etc.
5. Select it andclick Ok for add it
6. Open anywindow, hit ctrl+space (default trigger) to switch language andenjoy !
Many options areavailable from the input switcher icon in the right top cornericon's menu.
As it took me avery long time to find this out, I wanted to share it witheveryone.