Skip to content

For Some Packages need more operation to use

梁永祥 edited this page Aug 24, 2021 · 3 revisions

For Some Packages need more operations to use

Fcitx5

Fcitx5 is still not stable yet, but if you want try, add gentoo-zh For leak of time, I only write ebuilds for chinese input methods only. And It only works fine with kde.

install

emerge -av app-i18n/kcm-fcitx5 app-i18n/fcitx5-rime app-i18n/fcitx5-qt app-i18n/fcitx5-gtk app-i18n/fcitx5-chinese-addons app-i18n/fcitx5

config

#.xprofile/.pam_environment
export XMODIFIERS="@im=fcitx5"
export QT_IM_MODULE=fcitx5
export GTK_IM_MODULE=fcitx5

open kcm-fcitx5 for init the config or fcitx5 may not work.

for non kde user

add .config/fcitx5/profile

# .config/fcitx5/profile
[Groups/0]
# Group Name
Name=Default
# Layout
Default Layout=us
# Default Input Method
DefaultIM=rime

[Groups/0/Items/0]
# Name
Name=keyboard-us
# Layout
Layout=

[Groups/0/Items/1]
# Name
Name=pinyin
# Layout
Layout=

[Groups/0/Items/2]
# Name
Name=rime
# Layout
Layout=

[GroupOrder]
0=Default

refer: https://iovxw.net/p/fcitx5/