#!/bin/sh
export LANG="en_US.UTF-8" #or to whatever language you want your system to be localized
export XMODIFIERS="@im=SCIM" #allow legacy x-apps to use scim
export GTK_IM_MODULE="scim" #set gtk apps to use scim as default immodule
export QT_IM_MODULE="scim" #set qt/kde apps to use scim 

#autostart scim if not already launched
if [ ! `ls /tmp/scim-socket*` ]; then
  /usr/bin/scim -d
fi
 
