If you change the locale to Chinese, the system will not automatically install Chinese fonts. The direct effect is that a lot of information in the system is displayed in Chinese. However, because there is no font installed, all the information is turned into squares, so you don't know what the content of the information is. As a system installation tool, I think there is a problem, because this will directly cause the system Not available, and Debian based raspbian has the same problem.
So if you accidentally set the locale of the system to zh in the initial setting_ Cn.utf-8, when you enter raspbian's image interface, you will immediately be dumbfounded. You don't know what the contents of icons and menus are, because they are all squares. Therefore, it is recommended that the locale should use en as much as possible_ Us.utf-8 or en_ GB.UTF-8。
Because the foreign source is too slow to use in China, we switch to the domestic source (root permission is required)
sudo rm -rf /etc/apt/sources.list.d Delete file
sudo nano /etc/apt/sources.list Edit source
4. Domestic sources:
deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
5. Ctrl + O save, Ctrl + X exit, and then
sudo apt-get update to update
When you double-click on the desktop, the prompt appears
sudo apt-get install ttf-wqy-zenhei
We will install the open source Chinese font of WenQuanYi. We salute WenQuanYi here. It seems that it is the only open source Chinese font library. Guo Jia had money to build Confucius Institute, but he never had the money to build a relatively complete open source Chinese font.
Chinese can be displayed, input? Under Linux, it is called SCIM (smart common input method), so as long as you input:
sudo apt-get install scim-pinyin
Will install Pinyin input method, after the installation, you can directly enter SCIM activation, the next start will automatically start. The shortcut key is also Ctrl + space. Or directly click the icon in the lower right corner to select.
Then select change_ Locale, select zh in the default locale for the system environment:_ CN.UTF-8。 Then restart the machine and find that the whole environment has become Chinese.
Select Configure_ The screen in front of the keyboard selects the default value: generic 105 key (Intl) PC, but when the keyboard layout: is displayed, it is English (UK). To select other, and then select English (US), otherwise, some symbols of the keyboard will be wrong or exchanged, such as "quotation mark" and @ symbol exchange, and "ා" becomes pound sign, etc. Select the default value on the following two screens. When "use control + Alt + backspace to terminate the X server", select Yes, which means that the X server can be terminated. When the entire X-window dies, it can be used.
This lxde is in Chinese.
How to change the command line back to English: modify / etc / profile and add lang = en_ US.UTF-8
Use Alipay, wechat and QQ clients to scan code and reward
Reward the author
This paper is written by SangSir Creation, adoption Knowledge sharing signature 4.0 International license agreement
In addition to the reprint / source, all articles are original or translated. Please sign before reprinting