Hi Ikuya, Mitsuya!

Confirmed here as well.

My understanding is that not all IBus IMs need ibus-x11, which may
explain why the GNOME folks didn't notice this issue as regards ibus-
mozc. It would be good if any of you could submit an upstream GNOME
issue. I suppose that candidate projects are mutter and gnome-shell.

In the meantime im-config is the natural package for a workaround. This
PPA:

https://launchpad.net/~gunnarhj/+archive/ubuntu/im-config

contains a modified im-config, which I think deals with the issue for
now. I chose to edit two existing files instead of adding yet another
autostart script.

Please let me know if you consider the im-config change to be
sufficient, and also if you see any adverse side effects. If it's ok, we
should make an SRU soon after the 21.10 release.

** Package changed: ubuntu => im-config (Ubuntu)

** Changed in: im-config (Ubuntu)
   Importance: Undecided => High

** Changed in: im-config (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: im-config (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

** Also affects: gnome-shell (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: mutter (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: impish regression-release

-- 
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. push Windows key + Space key and select Japanese (Mozc)
  6. run gedit
  7. 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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to