Current location - Recipe Complete Network - Healthy recipes - How to make raspberry pie display Chinese?
How to make raspberry pie display Chinese?
Hello,

Raspberry pie uses English font by default, and there is no pre-installed Chinese font in the system, so even if you change it to Chinese in locale, it will not display Chinese, only a bunch of squares will be displayed. So we need to install Chinese fonts manually. Fortunately, there is a Chinese font that is free and open source.

Enter the following command in ssh

sudo apt-get install ttf-wqy-zenhei

If you encounter (Y/n) during installation, choose Y.

After the Chinese font is installed, you need to install a Chinese input method. Enter the following command

sudo apt-get install scim-pinyin

Enter after installation.

sudo raspi-config

Then select change_locale, and select zh_CN.UTF-8 in the default locale for the system environment:

After the configuration is completed, enter the command.

sudo reboot

After the restart is completed, you can use Chinese display and Chinese input method. Switching Chinese input method is also ctrl+space.