Note: the following instructions are out of date now. Please follow this page on Foresight Wiki.
1. Install scim and scim-pinyin, (also make sure scim:runtime is installed).
sudo conary update scim:runtime scim-pinyin=foresight.rpath.org@fl:2-devel2.Add a file as
/etc/X11/xinit/xinitrc.d/scim.sh, with the content:#!/bin/sh
export XMODIFIERS="@im=SCIM"
export XIM_PROGRAM="/usr/bin/scim -d"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d &;
