Fcitx5 无法在 konsole 中切换到中文

别的应用没有问题,很奇怪

$ fcitx5 --version
5.0.19

Konsole
Version 22.08.2

1 Like

你的 fcitx5 是如何安裝的呢?我是直接裝 manjaro-asian-input-support-fcitx5,裡面包含了一些設定檔方便 fcitx5 直接使用。

看了一下我安装了

$ pamac list | grep fcitx5
fcitx5                             5.0.19-1                      community  11.8 MB
fcitx5-chinese-addons              5.0.15-3                      community  3.9 MB
fcitx5-configtool                  5.0.15-1                      community  1.5 MB
fcitx5-gtk                         5.0.19-1                      community  317.0 kB
fcitx5-qt                          5.0.15-1                      community  1.4 MB

这几个包

而且最近 KDE 经常卡住,怀疑是 KDE 系列组件的问题吧😂等待升级

我也是。应该和更新有关。
同时 wps里的表格也录入不了中文,但是文字可以录入中文。

I recently updated manjaro, fcitx became completely unavailable, a PAM configuration service gave up ~/.pam_environment, so just rewrite it to ~/.xprofile look like this:
export INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5

1 Like

Should I reboot to apply it?

$ cat ~/.xprofile 
export INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5

Yes, but I am not sure this will solve your problem, I think it’s caused by some applications not finding the environment variables

worked! Thanks

@usenet506 You can try it

@dobedobedo May I ask that the package you mentioned will upgrade the configutaion to this file? If so I think I should also install it

manjaro-asian-input-support-fcitx5 是個 meta-package,會幫你安裝好 fcitx5-qt fcitx5-gtk fcitx5-configtool,同時他會自動幫你設定環境變數

# https://wiki.archlinux.org/index.php/Fcitx
# https://wiki.archlinux.org/index.php/Fcitx5
im=fcitx
export GTK_IM_MODULE=$im
export QT_IM_MODULE=$im
export XMODIFIERS=@im=$im
export INPUT_METHOD=$im
export SDL_IM_MODULE=$im

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