TeKtOn

Configuration of Korean input method for KDE in OpenSuSE 10.0 본문

Computers/Linux

Configuration of Korean input method for KDE in OpenSuSE 10.0

Dr.TeKtOn 2006. 4. 10. 05:07
1. Download and install nabi from http://nabi.kldp.net/

2. Copy /etc/X11/xim.d/ami to /etc/X11/xim.d/nabi, and change "ami" to "nabi" in the file.
/etc/X11/xim.d/nabi
OLD_PATH=$PATH
PATH=/usr/bin:/usr/X11R6/bin:$PATH

if ! type -p nabi > /dev/null 2>&1 ; then
echo "nabi is not available."
return 1
fi

export XMODIFIERS=@im=nabi
export GTK_IM_MODULE=xim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=xim

case "$WINDOWMANAGER" in
    *kde|*windowmaker|*wmaker
        nabi -wm -wait &
    ;;
    *)
        nabi &
    ;;
esac

PATH=$OLD_PATH

# success:
return 0

3. Add the following line to /etc/sysconfig/language file.
INPUT_METHOD="nabi"
4. Make a $HOME/.xim file including following lines.
export XMODIFIERS="@im=nabi"
export GTK_IM_MODULE=xim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=xim
nabi &
5. Restart X server.

'Computers > Linux' 카테고리의 다른 글

3Com OfficeConnect Wireless 108Mbps 11g XJACK PC Card  (0) 2006.06.29
Logitech MX500 for OpenSuSE 10.0  (0) 2006.04.09
SSH X forwarding  (0) 2006.04.06