Public bug reported:

I tested newly installed Ubuntu 22.04 LTS dev.

step to reproduce:
1. boot
2. select user
3. session changes to Ubuntu on Xorg from Ubuntu
4. enter password
5. run gedit
6. put Hankaku/Zenkaku key
7. nothing to happen

consideration:
Run "ps ax |grep ibus" on terminal:
$ ps ax |grep ibus
   5774 ?        Ss     0:00 sh -c /usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")
   5779 ?        Sl     0:00 /usr/bin/ibus-daemon --panel disable
   5863 ?        Sl     0:00 /usr/libexec/ibus-dconf
   5864 ?        Sl     0:00 /usr/libexec/ibus-extension-gtk3
   5868 ?        Sl     0:00 /usr/libexec/ibus-portal
   5965 ?        Sl     0:00 /usr/lib/ibus-mozc/ibus-engine-mozc --ibus
   6831 pts/1    R+     0:00 grep --color=auto ibus
It is strange.

IBus 1.5.25 introduces systemd user unit files.
/usr/lib/systemd/user/org.freedesktop.IBus.session.GNOME.service
/usr/lib/systemd/user/org.freedesktop.IBus.session.generic.service
above contains "ExecStart=sh -c '/usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")"
https://github.com/ibus/ibus/blob/master/bus/services/org.freedesktop.IBus.session.GNOME.service.in#L21
It may be bashism.
I changed to "ExecStart=bash -c '/usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")" and reboot then works as 
expected.

** Affects: ibus (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Attachment added: "VirtualBox_UbuntuJammy5_10_04_2022_12_56_48.png"
   
https://bugs.launchpad.net/bugs/1968459/+attachment/5578913/+files/VirtualBox_UbuntuJammy5_10_04_2022_12_56_48.png

** Attachment removed: "VirtualBox_UbuntuJammy5_10_04_2022_12_56_48.png"
   
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1968459/+attachment/5578913/+files/VirtualBox_UbuntuJammy5_10_04_2022_12_56_48.png

** Description changed:

  I tested newly installed Ubuntu 22.04 LTS dev.
  
  step to reproduce:
  1. boot
  2. select user
  3. session changes to Ubuntu on Xorg from Ubuntu
  4. enter password
  5. run gedit
  6. put Hankaku/Zenkaku key
  7. nothing to happen
  
  consideration:
  Run "ps ax |grep ibus" on terminal:
  $ ps ax |grep ibus
-    5774 ?        Ss     0:00 sh -c /usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")
-    5779 ?        Sl     0:00 /usr/bin/ibus-daemon --panel disable
-    5863 ?        Sl     0:00 /usr/libexec/ibus-dconf
-    5864 ?        Sl     0:00 /usr/libexec/ibus-extension-gtk3
-    5868 ?        Sl     0:00 /usr/libexec/ibus-portal
-    5965 ?        Sl     0:00 /usr/lib/ibus-mozc/ibus-engine-mozc --ibus
-    6831 pts/1    R+     0:00 grep --color=auto ibus
+    5774 ?        Ss     0:00 sh -c /usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")
+    5779 ?        Sl     0:00 /usr/bin/ibus-daemon --panel disable
+    5863 ?        Sl     0:00 /usr/libexec/ibus-dconf
+    5864 ?        Sl     0:00 /usr/libexec/ibus-extension-gtk3
+    5868 ?        Sl     0:00 /usr/libexec/ibus-portal
+    5965 ?        Sl     0:00 /usr/lib/ibus-mozc/ibus-engine-mozc --ibus
+    6831 pts/1    R+     0:00 grep --color=auto ibus
  It is strange.
  
  IBus 1.5.25 introduces systemd user unit files.
  /usr/lib/systemd/user/org.freedesktop.IBus.session.GNOME.service
  /usr/lib/systemd/user/org.freedesktop.IBus.session.generic.service
  above contains "ExecStart=sh -c '/usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")"
  
https://github.com/ibus/ibus/blob/master/bus/services/org.freedesktop.IBus.session.GNOME.service.in#L21
  It may be bashism.
- It changes to "ExecStart=bash -c '/usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")" and reboot then works as 
expected.
+ I changed to "ExecStart=bash -c '/usr/bin/ibus-daemon --panel disable $([[ 
$XDG_SESSION_TYPE == "x11" ]] && echo "--xim")" and reboot then works as 
expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968459

Title:
  IBus 1.5.26 does not enable on Xorg sesson

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1968459/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to