Install Google Pinyin Input Method on Raspberry Pi
Before installing, please make sure that your software source has been switched to the country, otherwise the installation may fail due to network problems.
Replace the software source tutorial: Replace the domestic software source with the Raspberry Pi
When installing the Chinese input method, you need to use the Fcitx framework. The built-in input method of Fcitx supports Chinese pinyin and character table-based input (such as Wubi). According to different languages, there are different input method engines to choose from. The one used here is
fcitx-googlepinyin Google 拼音输入法 for Android
Execute the following command
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin
Restart after installation
sudo reboot
After startup, we only need to press Ctrl+空格
to switch to Pinyin input method