Skip to content

Instantly share code, notes, and snippets.

@jasonzhouu
Last active August 16, 2024 06:42
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/

@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

@samsara173
Copy link

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

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