Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xuzh0u/70dbb7ca3e00778c256ab63baf2542c9 to your computer and use it in GitHub Desktop.
Save xuzh0u/70dbb7ca3e00778c256ab63baf2542c9 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 fcitx fcitx-googlepinyin fcitx-im fcitx-configtool 

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 "Google Pinyin" 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