Monday, April 30, 2007

Installing SCIM on arch
* default system language en_AU
* default desktop manager: Gnome

1. sudo pacman -S scim scim-pinyin
Note: scim is the base package, pinyin is the input method

2. create a xinput.sh under rc.d
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

3. edit ~/.xinitrc
#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

#make sure this section is before the "start wmaker"
export XIM="SCIM"
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
export XIM_PROGRAM="scim -d"
scim -f socket -c socket -d


exec wmaker
#exec startkde
# exec icewm
# exec blackbox
# exec fluxbox

No comments: