We generally use the FCITX Input method framework in the X Windows environment, FCITX is an extensible Input method framework. Currently it supports Linux and Unix systems, such as FreeBSD. It includes three built-in input method engines, pinyin, location, and the input method based on the code table.
 
Here are some of the distributions for Linux to illustrate how to install,
 
1, http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu
 
FCITX has been in the Ubuntu official source for a long time, but after 4.2 Fcitx will appear for the first time in Ubuntu 12.04.
 
If you want to install the latest FCITX and related packages, you can use the PPA.
 
sudo add-apt-repository ppa:fcitx-team/nightly
 
Or
 
sudo add-apt-repository ppa:fcitx-team/stable
 
You can use different software sources. You can confirm which version of the FCITX it contains by using the PPA Web page.
 
After adding the software source, you need to use the
 
sudo apt update
 
Or use your favorite package Manager to refresh, search for FCITX, and install it.
 
Configuration
 
If you use older Ubuntu,ubuntu probably only im-switch, you can use
 
Im-switch-s FCITX
 
or run Language-selector through your desktop launcher.
 
You need to log off to make all configuration work.
 
If you use the newer Ubuntu, your Ubuntu may use Im-config instead of Im-switch, and you can choose the input method by Im-config.
 
For Qt/kubuntu due to an inconsistent im-switch environment variable setting, Qt4_im_module is not set to the environment variable.
 
1. Do not forget to install Fcitx-frontend-qt4
 
2. Install Qt4-qtconfig and run Qtconfig-qt4, and select Fcitx in the Interface tab.