SCIM

Environment
  • Ubuntu 7.1
Introduction
SCIM is pre-installed, but does not have Chinese tables, and is not enabled in default

Setup
Install scim-tables-zh and im-switch
#apt-get install scim-tables-zh im-switch
Set SCIM to be default input method
im-switch -s scim
Edit /etc/X11/xinit/xinput.d/scim, since it uses xim for IM_MODULE
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=scim
QT_IM_MODULE=scim