* Send FocusIn signal again after delayed FocusId property * Fix time lag of CandidatePanel in X11 * Update Unicode table with keysym * Wayland input-method protocol version 1 and 2 * https://github.com/ibus/ibus/wiki/WaylandDesktop * Additional Wayland input-method; XIM and GTK2, Key repeating, Compose * ibus start --type wayland new option * Compose feature updates * Bug fixes of Wayland features * Update simple.xml with xkeyboard-config 2.44 - Revert not to use systemd to launch ibus * Remove ibus-ui-gtk3-restart-via-systemd.patch - Remove patches merged by the upstream * ibus-gcc15-1.patch * ibus-gcc15-2.patch OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=297
28 lines
570 B
Bash
28 lines
570 B
Bash
#!/bin/sh
|
|
|
|
test x"$INPUT_METHOD" = x"ibus" || exit 0
|
|
|
|
# GNOME starts ibus by itself
|
|
case "$XDG_CURRENT_DESKTOP" in
|
|
*GNOME*)
|
|
exit 0;;
|
|
esac
|
|
|
|
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
|
|
case "$XDG_CURRENT_DESKTOP" in
|
|
*KDE*)
|
|
ibus start --type=kde-wayland
|
|
exit 0;;
|
|
*)
|
|
ibus start --type=wayland
|
|
exit 0;;
|
|
esac
|
|
else
|
|
# sleep for a little while to avoid duplicate startup
|
|
# sleep 2
|
|
|
|
# `ibus start` does not exit, so we use ibus-daemon
|
|
ibus-daemon --xim --daemonize
|
|
exit 0
|
|
fi
|