1. After the Ubuntu system is installed, the ibus input method is provided, which is disabled by default in the English environment. To configure the Automatic startup of ibus, you can select System --- Preferences --- StartupApplications from the ubuntu System menu, and add a program in this window: Name: ibus-daemonCommand: ibus-daemon-d-x-ribus provides the default Chinese Input Method, which requires
1. ibus Input Method
After Ubuntu is installed, the ibus input method is provided, which is disabled by default in the English environment.
To configure automatic Startup of ibus, you can select System --- Preferences --- Startup Applications from the ubuntu System menu, and add a program in this window:
Name: ibus-daemon
Command: ibus-daemon-d-x-r
By default, ibus provides relatively poor Chinese input methods, and requires additional installation of ibus-pinyin. The command is as follows:
Sudo apt-get install ibus-pinyin
In this case, you also need to start the ibus-pinyin input method. On the ubuntu System menu, Select System --- Preferences --- IBus Preferences. In the Select an Input Method drop-down box on the input method page, Select add Chinese-Pinyin, it is the one with a large "spelling" in the icon, click the Add button, and then use the Up button to move the Input Method to the top.
After the system is restarted, press Ctrl + space to call up the ibus input method.
The ibus input method is good in general, but it cannot be called in some Java programs in my environment, such as Netbeans and OpenProj.
2. fcitx Input Method
Due to ibus defects, I tried fcitx, which is also very good and can be used normally in Java programs, but in this case, the cursor follows some problems, the input interface stops at the bottom of the screen, but is acceptable. It is much better than ibus.
Install fcitx:
Sudo apt-get install fcitx
Start fcitx:
Im-switch-s fcitx
Log out and log on again. fcitx will take effect.
To switch back to ibus, run im-switch-s ibus, log out, and log on again.
Fcitx can also be called by pressing Ctrl + space. In this case, fcitx displays a box in Chinese. Therefore, you need to modify the configuration of fcitx. The configuration file of Fcitx is in ~ /. Fcitx/config. The file is GBK encoded and cannot be displayed normally in Ubuntu. You can perform the following operations:
Cd ~ /. Fcitx
Iconv-f gbk-t utf8 config> config. tmp
Edit the config. tmp file:
Show font (medium) = WenQuanYi Micro Hei
Show font size = 10
Use bold = 0
Save and exit, and then run the command:
Iconv-f utf8-t gbk config. tmp> config
Log out and log on again. fcitx is normal.