Linux Chinese environment FAQ

Source: Internet
Author: User

When we use Linux, Chinese help for beginners is very useful for our operations. In personal opinion, when selecting the system, we should improve the two options first with the capital version XFree86, QT, Freetype, fontconfig, pango, GTK, and GTK2, otherwise, you may need to spend extra energy on the problems that have been solved by others.

◆ Q: How to display Chinese characters in the Console
A: Use zhcon, cce, unicon, unicon, and zhcon to check the following differences:

◆ Q: What is the difference between unicon and zhcon?
A: unicon is A Chinese platform in kernel mode. It is implemented based on modifying linux framebuffer and virtual console fbcon. Because it is implemented at the underlying level of the system, it is highly compatible and supports gpm mouse directly. But it is relatively dangerous. A slight Bug may compromise system security.

Zhcon is a Chinese platform in user mode, a bit like UCDOS. The graphic mode can be implemented through framebuffer, GGI, VGA16, and other methods. The pseudo-terminal mode is used. zhcon is a very good open-source software I have seen in China. Compatibility is good enough for most software and hardware. In addition, the application is flexible, can be started at any time, exit at any time, can only run on a specific tty. The interface is also very beautiful.

◆ Q: How can the Chinese file name in the FAT partition be correctly displayed?
A: For example, mount/dev/hda1 to/mnt/win-c. run the mount-o iocharset = cp936/dev/hda1/mnt/win-c command or add iocharset = cp936 to the options section of/etc/fstab.
For systems where locale is a UTF-8, use mount-o iocharset = utf8/dev/hda1/mnt/win-c

◆ Q: How to set the default locale for Linux.
A: You can run the/usr/bin/locale command to check your current system locale. If you want to change from one locale to another, you only need to change the LANG and LC_ALL variables in ~ /. Bash_profile or ~ /. I18n. If you want to change locale after entering Xwindow, you can ~ /. Xinitrc. For example, it is set to English on the Console. Enter Xwindow and use Chinese characters ~ /. Write export LANG = zh_CN.GB18030 and export LC_ALL = zh_CN.GB18030 in xinitrc. For other discussions, see how to set the default font, encoding, and display and enter Chinese characters on the English interface.

◆ Q: What are some common Chinese Input Methods in Linux?
A: fcitx: http://www.fcitx.org/
Questions about how fcitx inputs in en_US.UTF-8
Minichiput: http://minichinput.sourceforge.net/
Scim: http://www.turbolinux.com.cn /~ Suzhe/scim/
Wineinput: http://opencjk.org/projects/wineinput/index.html
Xsim: https://developer.berlios.de/projects/xsim

For detailed usage, see the documents attached to each input method software.

◆ Q: What terminals are good for BBS in Chinese?
A: qterm, rxvt, mlterm, cxterm, and eterm can all be used. For more information, see the software recommended by bkjia bbs.

◆ Q: How to Make Mplayer compatible with all Chinese subtitles?
A: For Simplified Chinese subtitles, you should select Simplified Chinese charset (CP936) in the Encoding of Subtitle. The following "Unicode subtitle" option is not required. In the Font setting, you should select a text body to display Subtitles (it can be a Font in X or a Font in the Windows directory ). Select Unicode for the font Encoding. You can also write ~ /. In mplayer/config, subcp = cp936 font = "absolute path of Chinese fonts". In addition ~ /. Create a soft link named subfont. ttf in mplayer to point to the Chinese file.

We recommend that you use command line-subcp-sub-font and other options. For more information, see man mplayer.

Related Articles]

  • Linux Chinese environment topics

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.