Installing Fcitx Chinese Input Method and Google Pinyin Input Method on Raspberry Pi#
Originally, I wanted to install Sogou Input Method on Raspberry Pi,
Sogou Input Method for Linux: https://pinyin.sogou.com/linux/?r=pinyin
But I couldn't install it successfully. Later, I found out that it was because of the different system architecture. Sogou Input Method is based on amd, so you can install the 32-bit Sogou Input Method Linux version on laptops and virtual machines. However, the Raspberry Pi system uses ubuntu_meta
, and its architecture is armhf
(check the system kernel version using uname -a
)
Download 32-bit Sogou Pinyin Input Method
In the Raspberry Pi virtual machine on a desktop computer, you can directly download the 32-bit Sogou Pinyin Input Method .deb file and double-click to install it.
Connect to the internet and run the following command in the terminal:
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin
After installation, restart the system. Right-click on the keyboard icon and select Configure
. Set up the Google Pinyin Input Method in the Input Method Configuration
window. In the Input Method
section, click on the +
button in the lower left corner and add Google Pinyin
to the list.
Then, in the Input Method Configuration
window, go to Global Config
and set the shortcut key for switching input methods according to the instructions.
Finally, restart the Raspberry Pi and create a new file to test. To switch input methods, simply press the shortcut key you set, and you will be able to input Chinese characters.