Hi, Yabuki-san and Gunnar,

Gunnar,

im-config has gone through several changes last several years to accommodate 
non-ibus
for GNOME on wayland.  We may have introduced some regression for X based 
system.

Since I don't use non-wayland system, we may have over looked problem there.

One point I am worried is ibus daemon starting process.  The currently, we 
don't set
"-r" to replace existing daemon.  Does im-config starts daemon twice?  Should 
we add
"-r" option there?  (I know it should not start twice.)

My GNOME start up has several start ups of ibus daemon.  Do we need similar ?
```
$ journalctl -a -b |grep 'ibus'
Jul 31 15:35:25 goofy /usr/libexec/gdm-wayland-session[1037]: dbus-daemon[1037]:
[session uid=116 pid=1037] Activating service name='org.gtk.vfs.Daemon' 
requested by
':1.22' (uid=116 pid=1366 comm="ibus-daemon --panel disable")
Jul 31 15:35:25 goofy /usr/libexec/gdm-wayland-session[1037]: dbus-daemon[1037]:
[session uid=116 pid=1037] Activating service name='org.freedesktop.portal.IBus'
requested by ':1.22' (uid=116 pid=1366 comm="ibus-daemon --panel disable")
Jul 31 15:35:25 goofy /usr/libexec/gdm-wayland-session[1037]: dbus-daemon[1037]:
[session uid=116 pid=1037] Activating service name='org.freedesktop.portal.IBus'
requested by ':1.35' (uid=116 pid=1514 comm="ibus-daemon --panel disable -r 
--xim")
Jul 31 15:35:32 goofy dbus-daemon[1749]: [session uid=1000 pid=1749] Activating
service name='org.freedesktop.portal.IBus' requested by ':1.61' (uid=1000 
pid=1986
comm="/usr/bin/ibus-daemon --panel disable")
```


Yabuki-san,

I don't understand your situation well.  Maybe telling me minimum set up to 
reproduce
under KVM may be a good idea.  Anyway, ....

`ctrl+j` key-binding sounds like something ibus-anthy preference menu sets if 
you
ever set it so or it is the default. (I may have changed it on my system so I 
can't
check for you ...)  That's after having working ibus-anthy and using anthy as 
input
method.  It only changs operational mode of anthy.  You set it through anthy's
preference menu.

Switching between "日本語 - anthy" and "日本語 - japanese" sounds like switching 
between
different ibus engines.  That's usually SUPER-SPACE and its binding is set by  
ibus-
setup for pure classic X system.  (I usually don't bother enabling "日本語 - 
japanese"
as input method since I need more than Hiragana ... You can see which methods 
are
active by looking at ibus-setup GUI selection screen.)

Checking running processes on your system with "sudo ps axjf" may give you some 
idea.

As I checked on GNOME/wayland, it starts ibus daemon without --xim.
(excuse me for folded lines)

```
   PPID     PID    PGID     SID TTY        TPGID STAT   UID   TIME COMMAND      
    
      0       2       0       0 ?             -1 S        0   0:00 [kthreadd]   
    
      2       3       0       0 ?             -1 I<       0   0:00  \_ [rcu_gp] 
    
... skip
      0       1       1       1 ?             -1 Ss       0   0:01 /sbin/init   
    
... skip
      1    1719    1719    1719 ?             -1 Ss    1000   0:00
/lib/systemd/systemd --user                                                     
    
... skip
   1719    1983    1983    1983 ?             -1 Ss    1000   0:00  \_ sh -c
/usr/bin/ibus-daemon --panel disable $([ "$XDG_SESSION_TYPE" = "x11" ] && echo 
"--
xim")
   1983    1986    1986    1983 ?             -1 Sl    1000   0:20  |   \_
/usr/bin/ibus-daemon --panel disable
   1986    2105    1986    1983 ?             -1 Sl    1000   0:00  |       \_
/usr/libexec/ibus-dconf
   1986    2106    1986    1983 ?             -1 Sl    1000   0:03  |       \_
/usr/libexec/ibus-extension-gtk3
   1986    2183    1986    1983 ?             -1 Sl    1000   0:12  |       \_
python3 /usr/share/ibus-anthy/engine/main.py --ibus
   2183    6808    1986    1983 ?             -1 Z     1000   0:00  |       |   
\_
[python3] <defunct>
   1986    2898    1986    1983 ?             -1 Sl    1000   0:00  |       \_
/usr/lib/ibus-mozc/ibus-engine-mozc --ibus
...
   1719    5490    5490    5490 ?             -1 Ssl   1000   0:24  \_
/usr/libexec/gnome-terminal-server
   5490    5508    5508    5508 pts/0       7133 Ss    1000   0:00  |   \_ bash
   5508    7133    7133    5508 pts/0       7133 S+    1000   0:00  |   |   \_
/usr/bin/mc -P /tmp/mc-osamu/mc.pwd.5508
   7133    7135    7135    7135 pts/1       7135 Ss+   1000   0:00  |   |       
\_
bash -rcfile .bashrc
   5490    7490    7490    7490 pts/2       8568 Ss    1000   0:00  |   \_ bash
   7490    8568    8568    7490 pts/2       8568 S+       0   0:00  |   |   \_ 
sudo
ps axjf
   8568    8569    8569    8569 pts/3       8570 Ss       0   0:00  |   |       
\_
sudo ps axjf
   8569    8570    8570    8569 pts/3       8570 R+       0   0:00  |   |       
   
\_ ps axjf
   5490    7951    7951    7951 pts/4       8044 Ss    1000   0:00  |   \_ bash
   7951    8044    8044    7951 pts/4       8044 S+    1000   0:00  |   |   \_
/usr/bin/mc -P /tmp/mc-osamu/mc.pwd.7951
   8044    8046    8046    8046 pts/5       8046 Ss+   1000   0:00  |   |       
\_
bash -rcfile .bashrc
   5490    8238    8238    8238 pts/6       8238 Ss+   1000   0:00  |   \_ bash
...

```

Osamu

Reply via email to