You are not logged in.

#1 2021-04-29 12:54:30

laichiaheng
Member
Registered: 2017-02-12
Posts: 194

ibus-x11 not running under Wayland causes input methods not working.

Some of the input methods doesn't work because ibus-x11 isn't running, like ibus-chewing and ibus-mozc. If I open some of the X11 apps like Steam, those input methods work as expected, or I need to restart ibus-daemon manually by entering the command below:

ibus-daemon -r

By entering the command above, It will activate ibus-x11 by default.

Why is this happening? Is there any workaround?

                   -`                   
                  .o+`                   --------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Kernel: 5.11.16-arch1-1 
               `+oooooo:                 Uptime: 3 hours, 5 mins 
               -+oooooo+:                Packages: 1094 (pacman) 
             `/:-:++oooo+:               Shell: zsh 5.8 
            `/++++/+++++++:              Resolution: 1920x1080 
           `/++++++++++++++:             DE: GNOME 40.1 
          `/+++ooooooooooooo/`           WM: Mutter 
         ./ooosssso++osssssso+`          WM Theme: Adwaita 
        .oossssso-````/ossssss+`         Theme: Adwaita-dark [GTK2/3] 
       -osssssso.      :ssssssso.        Icons: Adwaita [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: gnome-terminal 
     /ossssssss/        +ssssooo/-       CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/59 
  `+sso+:-`                 `.-/+oso:    Memory: 2192MiB / 32072MiB 
 `++:.                           `-/+/
 .`                                 `/             

Last edited by laichiaheng (2021-04-29 13:02:35)

Offline

#2 2021-04-30 01:19:53

laichiaheng
Member
Registered: 2017-02-12
Posts: 194

Re: ibus-x11 not running under Wayland causes input methods not working.

I've found a temporary solution in ArchWiki.



?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Note: GNOME has integrated IBus since version 3.6[1] and makes use of it by default, so if you use it as your desktop environment you may skip the next part????????

??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Huh??

Second, to launch IBus on user login, create the autostart entry ~/.config/autostart/ibus-daemon.desktop (user specific) or /etc/xdg/autostart/ibus-daemon.desktop (globally) with at least the following contents:

~/.config/autostart/ibus-daemon.desktop

[Desktop Entry]
Type=Application
Name=IBus Daemon
Exec=ibus-daemon -drx

Last edited by laichiaheng (2021-05-08 03:04:46)

Offline

#3 2021-05-04 10:06:21

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: ibus-x11 not running under Wayland causes input methods not working.

This temporary workaround unfortunately doesn't work for me, I just can't find any way to input Chinese right now, omg. By the way ibus-x11 runs when I check out from system monitor, but I can't invoke ibus libpinyin or rime.

Last edited by ganlu (2021-05-04 10:18:25)

Offline

#4 2021-05-08 03:08:30

laichiaheng
Member
Registered: 2017-02-12
Posts: 194

Re: ibus-x11 not running under Wayland causes input methods not working.

ganlu wrote:

This temporary workaround unfortunately doesn't work for me, I just can't find any way to input Chinese right now, omg. By the way ibus-x11 runs when I check out from system monitor, but I can't invoke ibus libpinyin or rime.

When I run X11 applications in XWayland, ibus-x11 runs automatically, there is no issue with ibus-libpinyin or ibus-rime in Wayland for me.

By the way, the first step can be ignored, Gnome has done that automatically, but you need to add ibus-daemon.desktop in /etc/xdg/autostart/ by yourself.
Don't forget to restart Gnome.

Last edited by laichiaheng (2021-05-08 03:11:52)

Offline

Board footer

Powered by FluxBB