Japanese IM Fcitx can not switch language

I’m using Manjaro-ARM-kde-plasma-rpi4-22.04.img

After installing fcitx-mozc fcitx-im fcitx-configtool,
Create a .xprofile file with the following contents in the home hierarchy.

export LANG=”ja_JP.UTF-8″
export XMODIFIERS=”@im=fcitx”
export XMODIFIER=”@im=fcitx”
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export DefaultIMModule=fcitx

With the above settings, I have been able to use Japanese input after re-logging in, but the input method does not switch in 22.04.
If you know what has been changed, I would be glad to know.
Thank you in advance.

The default session is Wayland, some of those variables might be X11 only.

Have you tried in the X11 session?

I think that Gnome use wayland and KDE still use X11.
Is it wrong?

‘copy & paste’ in wayland, fcitx5 broken switch.

Oh! Manjaro 22.04 has selection of display manager at startup.
I’ll try to set for wayland.
Thank you again.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.