Fcitx

Fcitx (Free Chinese Input Toy for X) is a Chinese input method. You can install Fcitx by using the following command:

Using Fcitx
In order to use Fcitx in X, you need to add these environment variables(You need to  them after setting these variables):

If you use GDM, KDM or LightDM to login, add them to ~/.xprofile. If you use startx, SLiM, etc. to login, add them to ~/.xinitrc.

LANG=zh_CN.UTF-8 LC_ALL= XIM=fcitx XIM_PROGRAM=fcitx XMODIFIERS="@im=fcitx" QT_IM_MODULE= GTK_IM_MODULE=

If you add gtk,gtk3 and qt to  &lt;module&gt; will be `fcitx', otherwise it should be `xim'.

Note: If you want to use Fcitx in English language, you may add  in environment.

Configuration
You can edit Fcitx's configuration file at.

Also, there is a tool to configure Fcitx called (You may need to add the '~arch' keyword in package.accept_keywords to install it).