add SCIM support to the default autostart. make the autostart run before openbox.
This commit is contained in:
parent
40c0bc4226
commit
b11d260dbe
2 changed files with 10 additions and 4 deletions
|
@ -29,3 +29,11 @@ fi
|
||||||
if which start_kdeinit >/dev/null; then
|
if which start_kdeinit >/dev/null; then
|
||||||
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
|
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
|
||||||
fi
|
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
|
||||||
|
|
|
@ -4,12 +4,10 @@ AUTOSTART="$HOME/.config/openbox/autostart.sh"
|
||||||
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
||||||
|
|
||||||
if test -e $AUTOSTART; then
|
if test -e $AUTOSTART; then
|
||||||
# sleep for 1 second so Openbox is there before anything else
|
. $AUTOSTART
|
||||||
(sleep 1 && . $AUTOSTART) &
|
|
||||||
else
|
else
|
||||||
if test -e $GLOBALAUTOSTART; then
|
if test -e $GLOBALAUTOSTART; then
|
||||||
# sleep for 1 second so Openbox is there before anything else
|
. $GLOBALAUTOSTART
|
||||||
(sleep 1 && . $GLOBALAUTOSTART) &
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue