Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save EthanLiangX/451d3b614a247aeb081d0e2144425659 to your computer and use it in GitHub Desktop.

Select an option

Save EthanLiangX/451d3b614a247aeb081d0e2144425659 to your computer and use it in GitHub Desktop.
How to set up Chinese input methods on Fedora 35 (KDE)

How to set up Chinese input methods on Fedora 35 (KDE)

Source: https://yanqiyu.info/2020/08/30/fcitx5-fedora/

Install fcitx5, fcitx5 configuration tool, Pinyin & Zhuyin input method engines

sudo dnf install -y fcitx5 kcm-fcitx5 fcitx5-chinese-addons fcitx5-table-extra fcitx5-zhuyin

Configure fcitx5 as global input method framework

sudo alternatives --config xinputrc # choose fcitx5.

cat << EOF > ~/.config/environment.d/00-fcitx5.conf
INPUT_METHOD=fcitx5
GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5
EOF

Add fcitx5 to autostart

ln -s /usr/share/applications/org.fcitx.Fcitx5.desktop ~/.config/autostart/

Restart the computer

sudo reboot now

好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment