I just found that this problem is not present in Debian testing, even if
they have the same version of both mutter and ibus. Something seems to
make Xwayland start at login, and hence ibus-x11 is also running.

That speaks against using im-config to work around it, since im-config
is used by both Debian and Ubuntu.

I think we need to ask the Ubuntu desktop folks for advice.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1946969

Title:
  ibus-x11 does not start automatically

Status in gnome-shell package in Ubuntu:
  New
Status in im-config package in Ubuntu:
  In Progress
Status in mutter package in Ubuntu:
  New

Bug description:
  ibus-x11 does not start automatically due to Xwayland on demand by default.
  IBus user does not input any cjkv languages before start to ibus-x11 or 
xwayland process.

  Steps to reproduce:

  1. run Ubuntu 21.10 installer
  2. select Japanese language
  3. finish to install and reboot
  4. login
  5. reboot
  6. login
  7. push Windows key + Space key and select Japanese (Mozc)
  8. run gedit
  9. push Hankaku/Zenkaku key

  Expected results:

  show any Japanese characters

  Actual results:

  input any alphabetical key which I push

  observation:

  This may be mutter's matter.
  Xwayland on demand by default
  https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1673

  workaround:

  1. run gnome-terminal and run command "ibus-daemon -rxd"
  2. run any xwayland application like Libreoffice
  3. use X session
  4. restart IBus automatically when log in

  exaple:
  $ sudo editor /etc/xdg/autostart/ibus-autostart.desktop

  [Desktop Entry]
  Name=ibus-autostart
  Exec=sh -c 'if [ "${IM_CONFIG_CHECK_ENV}" = "1" ] && [ "${XDG_SESSION_TYPE}" 
= "wayland" ] && [ "${XDG_CURRENT_DESKTOP}" = "ubuntu:GNOME" ] || [ 
"${XDG_CURRENT_DESKTOP}" = "GNOME" ]; then ibus-daemon -rxd true; fi'
  TryExec=ibus-daemon
  Type=Application

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1946969/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to