2016-02-28 17:32:13 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
test x"$INPUT_METHOD" = x"ibus" || exit 0
|
|
|
|
|
|
|
|
# GNOME starts ibus by itself
|
|
|
|
case "$WINDOWMANAGER" in
|
|
|
|
*gnome*)
|
|
|
|
exit 0;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# sleep for a little while to avoid duplicate startup
|
|
|
|
# sleep 2
|
|
|
|
|
2022-11-20 15:32:49 +01:00
|
|
|
ibus start --service-file org.freedesktop.IBus.session.generic.service
|
2016-02-28 17:32:13 +01:00
|
|
|
exit 0
|