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
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