You are not logged in.

#1 2022-11-21 01:14:56

owen
Member
Registered: 2022-11-18
Posts: 7

ibus and fcitx5 not working on chinese

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

#2 2022-11-21 01:55:08

prosup
Member
Registered: 2021-08-18
Posts: 12

Re: ibus and fcitx5 not working on chinese

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

#3 2022-11-21 04:55:14

owen
Member
Registered: 2022-11-18
Posts: 7

Re: ibus and fcitx5 not working on chinese

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 ~

prosup wrote:

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

#4 2022-11-21 05:08:04

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 262

Re: ibus and fcitx5 not working on chinese

set configurations to /etc/environment.

Offline

#5 2022-11-21 05:51:28

owen
Member
Registered: 2022-11-18
Posts: 7

Re: ibus and fcitx5 not working on chinese

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

once wrote:

set configurations to /etc/environment.

Offline

#6 2022-11-21 06:09:57

owen
Member
Registered: 2022-11-18
Posts: 7

Re: ibus and fcitx5 not working on chinese

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

#7 2022-11-22 00:45:42

prosup
Member
Registered: 2021-08-18
Posts: 12

Re: ibus and fcitx5 not working on chinese

owen wrote:

And by the way, can I have your WeChat id ~

same as the forum.

Offline

Board footer

Powered by FluxBB