Kinoite (KDE): Chinese character input using fcitx5 works, as long as the system settings → virtual keyboard is set to fcitx5.
Silverblue (GNOME): Chinese character input works out of the box.
Thanks for the reply, I first installed the flatpak version of fcitx5 before, but it didn’t work, then I installed fcitx5 with rpm-ostree, it still didn’t work, maybe it was a bad profile, I deleted the fcitx5 config file now, installed it again with rpm-ostree, and this time it worked
I recently learned that fcitx5-autostart is not needed for KDE and can interfere with the themes of addons in Flatpak apps running on Wayland. It’s better to either uninstall fcitx5-autostart or modify the environment variable in /etc/profile.d/fcitx5.sh.
You may need to add your language in System Settings → Regional Settings → Input Method.
Also, set Fcitx 5 in System Settings → Input Devices → Virtual Keyboard.
Ok, the setting is here now and I can see Chinese is added. I assume the Keyboard - Chinese should be placed under Input Method On? Then the Keyboard - English (US) is automatically bumped into Input Method Off. In either case it still doesn’t work.
Also, I saw both Fcitx 5 and Fcitx 5 Wayland Launcher (E... in Virtual Keyboard
No, the Keyboard - Chinese is merely a keyboard layout provided by KDE and is not what you need. Instead, you should add one of the input methods from fcitx5.
Additional info in case future people are interested -
It is possible to install Chinese input method via flatpak+distrobox only, without the need of layering rpm-ostree. The only package flathub doesn’t have is fcitx5-config-qt, which can be acquired by dnf install fcitx5-configtool in distrobox, then exported to host.
The input method has been tested to be functional in Kate, with the caveat of the popup candidate windows always on the upper left corner instead of following cursor. This is a known limitation of Wayland[1].
The IME needs further tweaking in Chrome tho. Adding the --enable-wayland-ime arg according to the old document doesn’t work anymore. This info needs update