Ubuntu10.04's built-in ibus Pinyin input method is not easy to use. I thought about installing a useful method for him. On the Ubuntu Chinese Forum, there were many people using the Fcitx input method, and I decided to use Fcitx. Follow the instructions in the Ubuntu Chinese forum to open the terminal and start installation: if you have installed ibus, uninstall it first. ================================= sudoapt-getremoveibus ======
The ibus Pinyin input method that comes with Ubuntu 10.04 is not easy to use. I thought about installing a useful method for him. On the Ubuntu Chinese Forum, there were many people using the Fcitx input method, and I decided to use Fcitx.
Follow the instructions in the Ubuntu Chinese forum to open the terminal and start installation:
Uninstall first when ibus is installed
========================================================== ====================
Sudo apt-get remove ibus
========================================================== ====================
Install fcitx after uninstalling:
========================================================== ====================
Sudo apt-get install fcitx
Sudo apt-get install ttf-arphic-uming # prevents garbled characters and installs uming fonts.
Sudo dpkg-I file name. deb
Im-switch-s fcitx-z default # set as the default input method, which is generally not required unless the system has multiple input methods
========================================================== ====================
After the installation is complete, restart and create a new document to prepare the test input method. Press ctrl + space. If the problem occurs, fcitx cannot be started.
I searched in the Forum and said that I want to delete SCIM.
Sudo apt-get remove scim
After the restart, press ctrl + space and then the penguin will show up. The fcitx input method is successfully enabled and the pinyin text is input for testing. All the alternative words are garbled.
Go to the Forum and find a solution:
The main reason for garbled characters is ~ /. Fcitx/config
Show font (medium) = *
The problem is that the default font of the system is used. Generally, all of them are in English, so there is a problem when displaying Chinese..
Open the terminal and modify the configuration file:
Sudo gedit ~ /. Fcitx/config
Find the following line:
Show font (medium) = *
Changed:
Show font (medium) = ar pl SungtiL GB
Exit save, restart, test, OK, and finally succeeded.
Finally, the entire installation process should be as follows:
1. Delete scim first
Sudo apt-get remove scim
2. Install fcitx
Sudo apt-get install fcitx
3. If it is not garbled, It is good. If it is time, just look at the following.
The main reason for garbled characters is ~ /. Fcitx/config
Show font (medium) = *
The problem is that the default font of the system is used. Generally, all of them are in English, so there is a problem when displaying Chinese.
First, we need to know what Chinese fonts we have (Chinese fonts installed in the system)
Fc-list
Search for any Chinese characters in the middle
Winding PL briefing song, ar pl SungtiL GB: style = Regular
Generally, this is a Chinese font ~ The font (medium) = * In/. fcitx/config is changed to the following:
Show font (medium) = ar pl SungtiL GB
Sudo gedit ~ /. Fcitx/config(Open the file to be changed)
The last step is sudo reboot!