Skip to content

Instantly share code, notes, and snippets.

@jasonzhouu
Last active May 23, 2024 01:45
Show Gist options
  • Save jasonzhouu/70bbe4afe6a3b9c05a410bbda6312f96 to your computer and use it in GitHub Desktop.
Save jasonzhouu/70bbe4afe6a3b9c05a410bbda6312f96 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/

@xuzh0u
Copy link

xuzh0u commented Jun 3, 2023

太感谢了,爱来自 KDE

@bruce-lin-ch
Copy link

感谢感谢 来之Manjaro

@samsara173
Copy link

非常好中文输入,使我键盘旋转,爱来自Manjaro

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