Skip to content

Instantly share code, notes, and snippets.

@lixit
Forked from jasonzhouu/chinese_input_in_manjaro.md
Last active April 20, 2025 18:30
Show Gist options
  • Save lixit/2014a90a7d2674150116ee673810dd4e to your computer and use it in GitHub Desktop.
Save lixit/2014a90a7d2674150116ee673810dd4e to your computer and use it in GitHub Desktop.
Config Chinese input method in Manjaro(Manjaro 配置中文输入法)

1. install packages

run:

yay -Syu adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts 
yay -Syu fcitx5-im tfcitx5-pinyin-zhwiki fcitx5-rime

2. config environmental variables

sudo vim /etc/profile

add:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

to the end.

Log out and log in.

3. add "Rime" in fcitx

image

4. switch input method

  • ctrl + Space
  • left click fcitx tray icon
  • right click fcitx tray icon, choose input method

reference: https://caffeinatedchris.com/2019/01/03/fcitx-manjaro-xfce/

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