You are not logged in.
Hi,
I try to install input method for chinese uisng ibus or fcitx5, but none of them work.
Here are the packages what I've installed:
sudo pacman -Q|grep -E "ibus|fcitx5"
fcitx5 5.0.19-1
fcitx5-chinese-addons 5.0.15-3
fcitx5-configtool 5.0.15-1
fcitx5-gtk 5.0.19-1
fcitx5-pinyin-zhwiki 1:0.2.4.20221029-1
fcitx5-qt 5.0.15-1
ibus 1.5.27-1
ibus-libpinyin 1.13.0-1
ibus-pinyin 1.5.0-8
ibus-rime 1.5.0-1
ibus-table 1.16.14-1
ibus-table-chinese 1.8.11-1
libibus 1.5.27-1
libusb 1.0.26-1
libusbmuxd 2.0.2-1
Here are my configurations:
tail -n 20 ~/.bashrc
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus-daemon -d -x
#export INPUT_METHOD=fcitx5
#export GTK_IM_MODULE=fcitx5
#export XMODIFIERS=@im=fcitx5
#export QT_IM_MODULE=fcitx5
#export INPUT_METHOD=fcitx
#export GTK_IM_MODULE=fcitx
#export XMODIFIERS=@im=fcitx
#export QT_IM_MODULE=fcitx
#export SDL_IM_MODULE=fcitx
Offline
follow fcitx wiki...
跟官网维基似乎不会有啥问题,下面供参考
❯ yay -Ss fcitx | grep "已安装"
community/fcitx5-rime 5.0.14-1 (68.2 KiB 175.1 KiB) (已安装)
community/fcitx5-qt 5.0.15-1 (347.8 KiB 1.3 MiB) [fcitx5-im] (已安装)
community/fcitx5-gtk 5.0.19-1 (76.2 KiB 309.6 KiB) [fcitx5-im] (已安装)
community/fcitx5-configtool 5.0.15-1 (397.5 KiB 1.4 MiB) [fcitx5-im] (已安装)
community/fcitx5-chinese-addons 5.0.15-3 (1.2 MiB 3.7 MiB) (已安装)
community/fcitx5 5.0.19-1 (2.9 MiB 11.3 MiB) [fcitx5-im] (已安装)
❯ cat /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
QT_QPA_PLATFORMTHEME=qt5ct
Last edited by prosup (2022-11-21 01:55:42)
Offline
Can you also post the output of "fcitx5-diagnose"?
Sorry, I still can't type Chinese..
And by the way, can I have your WeChat id ~
follow fcitx wiki...
跟官网维基似乎不会有啥问题,下面供参考❯ yay -Ss fcitx | grep "已安装" community/fcitx5-rime 5.0.14-1 (68.2 KiB 175.1 KiB) (已安装) community/fcitx5-qt 5.0.15-1 (347.8 KiB 1.3 MiB) [fcitx5-im] (已安装) community/fcitx5-gtk 5.0.19-1 (76.2 KiB 309.6 KiB) [fcitx5-im] (已安装) community/fcitx5-configtool 5.0.15-1 (397.5 KiB 1.4 MiB) [fcitx5-im] (已安装) community/fcitx5-chinese-addons 5.0.15-3 (1.2 MiB 3.7 MiB) (已安装) community/fcitx5 5.0.19-1 (2.9 MiB 11.3 MiB) [fcitx5-im] (已安装) ❯ cat /etc/environment # # This file is parsed by pam_env module # # Syntax: simple "KEY=VAL" pairs on separate lines # GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx QT_QPA_PLATFORMTHEME=qt5ct
Offline
set configurations to /etc/environment.
Offline
I've set the environment variable like prosup , but I still can get it work.
cat /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
QT_QPA_PLATFORMTHEME=qt5ct
set configurations to /etc/environment.
Offline
Thank you prosup, once.
Fcitx5 worked now. Copying the fcitx-autostart.desktkop file to ~/.config/autostart get it worked.
I do this as wiki said
"If fcitx failed to start with your desktop automatically or if you want to change the parameters to start fcitx, configure autostart or edit the fcitx-autostart.desktop file in your ~/.config/autostart/ directory (copy it from /etc/xdg/autostart/ if it does not exist yet)."
Offline
And by the way, can I have your WeChat id ~
same as the forum.
Offline