Fcitx

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

Use Flags
It is strongly recommended to add gtk, gtk3 and qt in USE.

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.

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'.

It is recommended to start the D-Bus session bus before Fcitx starts. Add these to the beginning of your X startup file (~/.xprofile or ~/.xinitrc): eval "$(dbus-launch --sh-syntax --exit-with-session)"

Note: If you want to use Fcitx in X, your locale CANNOT be `C' or `POSIX'.

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).

There is also a tool called kcm-fcitx. (TO DO)