add SCIM support to the default autostart. make the autostart run before openbox.

This commit is contained in:
Dana Jansens 2007-05-16 19:04:48 +00:00
parent 40c0bc4226
commit b11d260dbe
2 changed files with 10 additions and 4 deletions

View file

@ -29,3 +29,11 @@ fi
if which start_kdeinit >/dev/null; then
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi
# Support for SCIM
if which scim >/dev/null; then
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d &
fi

View file

@ -4,12 +4,10 @@ AUTOSTART="$HOME/.config/openbox/autostart.sh"
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
if test -e $AUTOSTART; then
# sleep for 1 second so Openbox is there before anything else
(sleep 1 && . $AUTOSTART) &
. $AUTOSTART
else
if test -e $GLOBALAUTOSTART; then
# sleep for 1 second so Openbox is there before anything else
(sleep 1 && . $GLOBALAUTOSTART) &
. $GLOBALAUTOSTART
fi
fi