DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

fcitx5 input method cannot be launched in KDE Plasma 6 Wayland

Open skjongithub opened this issue 11 months ago • 2 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

version 8.0.1.31 (deb)

Expected Behavior

ctrl+space should toggle fcitx Chinese input method on and off within Onlyoffice Document

Actual Behavior

ctrl+space does not work, and I can only type English within Onlyoffice Document

Reproduction Steps

Upgrade Arch linux from KDE Plasma 5 (Xorg env) to Plasma 6 (Wayland env)

Additional information

No response

skjongithub avatar Mar 07 '24 17:03 skjongithub

also on plasma 6 xorg

natewu avatar Mar 19 '24 10:03 natewu

I might find a way out, using Wayland environment

1st (in fact I dont know if this is necessary): In your ~/.xprofile (or anyother login script your Xorg), comment out (or delete) all lines about input method

2nd In your ~/.config/environment.d/*.conf (I'm using Garuda Linux, so this is garuda.conf in my circumstance) paste these:

GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx SDL_IM_MODULE=fcitx GLFW_IM_MODULE=ibus

3rd In KDE setting/keyboard/virtual keyboard: select fcitx

4th restart your computer

(5th: re-install OnlyOffice?)

And then I can use fcitx5-mcbopomofo to type traditional Chinese in OnlyOffice under Wayland session.

skjongithub avatar Mar 19 '24 10:03 skjongithub