How to make Scim work in PClinuxOS 2007?

After installing scim and scim tables (in Package Maganer, search scim, and select scim to install), fowllo these two steps:

  1. Log in as root user,
  2. Use Kwirte to open /etc/sysconfig/i18n (if the file does not exit, it will open an empty file),
  3. paste the following and save:

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM

==========
If you are not root user, in termal type:
$ su
Password: xxx (type root password)
$ kwrite /etc/sysconfig/i18n

Past the following and save

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM