Raspberry Pi Study Notes (6): Let Raspbian support Chinese, disable hibernation

Source: Internet
Author: User
Tags locale

Citation: http://www.leiphone.com/news/201406/raspberry-pi-hands-on.html

It has been very strange to me that even if you install the system with the Debian installation CD, if you change the locale to Chinese, the system will not automatically install the Chinese font, the direct effect is that the system is a lot of information in Chinese display, but because there is no installation of fonts, so all turned into a block, So I do not know what the content of the information, this as a system installation tool I think there is a problem, because it will directly cause the system is not available, Debian-based Raspbian also have the same problem. So if you accidentally set the locale of the system to ZH_CN in the initial setup. UTF-8, when you enter the Raspbian image interface, will immediately dumbfounded, do not know the icon, menu content is what, because all is a block. So when the initial setup is recommended, the locale tries to use en_US. UTF-8 or EN_GB. UTF-8. After startup, double-click the desktop computer monitor icon, when prompted to enter:
sudo apt-get install Ttf-wqy-zenhei
Will install Wenquanyi Zen Hei open-source Chinese font, here to Wenquanyi Zen Hei salute, it seems that it is the only open source Chinese font library. Guo Jia had the money to build a Confucius Institute, but never had the money to do a more complete open source Chinese font.
Chinese can be displayed, input it? Linux has long been, called SCIM (Smart Common input Method), so just enter:
sudo apt-get install Scim-pinyin
will be installed pinyin input method, after the installation is complete, you can directly into the SCIM activation, the next boot will automatically start. Shortcut keys are also CTRL + spaces. or click the icon in the bottom right corner to select it.
Then run:
sudo raspi-config
Then select Change_locale, and select ZH_CN in the default locale for the system environment:. UTF-8. Then restart the machine and find that the whole environment has become Chinese.

Citation: http://blog.csdn.net/burgess_liu/article/details/8721389

Disable Raspberry Pi hibernation

To permanently disable Raspberry Pi hibernation, we can create a new file under the/ETC/PROFILE.D path, such as screen.sh, and write the following two commands to it, which can be permanently disabled.

Xsetdpms 0 0 0

Xsets off

Raspberry Pi Study Notes (6): Let Raspbian support Chinese, disable hibernation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.