Raspberry Pi 3 Study notes (3): Chinese environment setting and input Method installation
If you are installing a Raspbian system, for friends who are not accustomed to English, you need to set up Chinese and install the corresponding Chinese input method, if you install Ubuntu mate, you do not need to set up Chinese, because Ubuntu Mate will allow you to select the appropriate language to use when you install.
1, update the terminal, enter the following code, the effect as shown in the figure, there is no need for other operations, just wait for the update to complete, the update time is more
sudo apt-get update
2. Install Chinese font
Because the Raspberry Pi default is the English font, and the system is not preloaded with Chinese font, so even if you change the locale to Chinese, will not display Chinese, will only show a bunch of squares. So we need to manually install Chinese fonts, fortunately there is a Chinese font is free open source use.
sudo apt-get install Ttf-wqy-zenhei
3. Refresh Font Cache
sudo fc-cache
4, enter the code in the command state, open the Configuration Interface
sudo raspi-config
Or you can enter the following code directly into the language configuration interface
sudo dpkg-reconfigure locales
As shown in the figure: select Change_locale
In the Default locale for the system environment, use the spacebar of the keyboard to select the following five items:
En-gb.utf-8 UTF-8 ZH_CN. GB2312 en. CN. GB18030 GB18030 ZH_CN. GBK GBK ZH_CN. UTF-8 UTF-8
Press the TAB key on the keyboard to select Confirm, and then select Zh_cn in the menu that appears. UTF-8 UTF-8, click Enter on the keyboard (the default carriage return is confirmation).
5. Install Chinese Input Method Scim
sudo apt-get install Scim-pinyin
This command will install the Chinese input method, after the successful installation, you can close the Raspberry Pi terminal, restart the Raspberry Pi controller, restart after the normal use of Chinese input method. As shown in the figure:
After power on the upper right corner will display a keypad symbol, in the need to input Chinese, you can click here, select "Simplified Chinese", the text input
It is important to note that the Chinese input method cannot be called on a remote connection.