Fcitx

Fcitx (Free Chinese Input Toy for X) [ˈfaɪtɪks] is an input method framework with extension support.

Installation
You can install Fcitx by using the following command:

Use Flags
It is strongly recommended to add the gtk, gtk3 and qt4 useflags when you have applications using these toolkits.

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 qt4 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)"

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)