9c78fd3ac9
- Switch to use systemd service file to start ibus daemon * Fix boo#1201421 * Add ibus-ui-gtk3-restart-via-systemd.patch * Enable ibus-autostart for xdg-autostart-generator OBS-URL: https://build.opensuse.org/request/show/1036950 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=273
16 lines
281 B
Bash
16 lines
281 B
Bash
#!/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
|
|
|
|
ibus start --service-file org.freedesktop.IBus.session.generic.service
|
|
exit 0
|