Skip to content

Instantly share code, notes, and snippets.

@jasonzhouu
Last active January 23, 2024 10:57
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • 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/

@CallMeZhou
Copy link

终于可以输入中文了,谢谢! (from Manjaro 5.10.79)

@jimmyli56
Copy link

Thank you for this post! I was having issues trying to type in Chinese, but this tutorial helped me get it set up. 谢谢!

@Murphy-OrangeMud
Copy link

终于可以输入中文了,谢谢!(from Manjaro)

@yurenchen000
Copy link

thanks from Manjaro (Plasma) 22

I didn't install the *-fonts, it's just fine

@qiuhuiming
Copy link

终于可以输入了,谢谢(来自Manjaro)

@sufianj
Copy link

sufianj commented Jan 19, 2023

太好了又可以用中文灌水了!感谢!Manjaro (Plasma) 22 (sikaris)

@xuzh0u
Copy link

xuzh0u commented Jun 3, 2023

太感谢了,爱来自 KDE

@bruce-lin-ch
Copy link

感谢感谢 来之Manjaro

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