This is just a small script to automatize installing the Chinese IME (via Fcitx5) on Arch Linux, because I'm very lazy and I format my PC a lot. It also installs the Chinese fonts for you.
sudo pacman -Sy git
git clone https://github.com/Mutcholoko/arch-chinese-IME-script.git
cd arch-chinese-IME-script/
sudo chmod +x install-chinese-IME.sh
sudo ./install-chinese-IME.sh
- Just type your password and press Enter
- Press enter when prompted with the default options
- Log out and log back in
- Configure Fcitx5 using the Config Tool, i.e. add the Pinyin input method
tip: You can copy/paste the first five commands all at once
- Enable Cloud Pinyin
- Change Previous Candidate Hotkey To "Up" key
- Change Next Candidate Hotkey To "Down" key
- Remove "Up" and "Down" Hotkeys from Previous Page and Next Page
- Change Minimum Pinyin Length to 2 (on Cloud Pinyin Settings)
- Change Backend to Baidu (on Cloud Pinyin Settings)
- Change Trigger Input Method Hotkey to "Super+Space" (on Global Options)
- Remove Enumerate Input Method Group Forward/Backward Hotkeys (on Global Options)