Allow Debian to "speak Chinese"

Source: Internet
Author: User
Article Title: Ask Debian to "speak Chinese ". Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Debian GNU/Linux (Debian for short) is one of the world's largest non-commercial Linux distributions. It is made by more than 1000 computer amateurs and professionals in the world.
  
The latest Debian version is Debian 3.0, codenamed Woody. Now let's look at how to make it "Speak Chinese ".
  
Chinese X-Window
  
After the System is installed, go to System/SysV/init editor in the X-Window start menu to cancel kdm, TPD, or xdm. In this way, you can enter startx on the console and enter X-Window.
  
Enter X-Window and run cpanel (this is important ). Select the country, language, and font in the KDE control center. Select fangsong ti as the font ). Exit X-Window and A. xsession file will be generated in the main directory. Modify the file as follows.
  
LANG = zh_CN.GB2312
LC_ALL = zh_CN.GB2312
LC_CTYPE = zh_CN.GB2312
KDE_LANG = zh_CN.GB2312
XMODIFIERS = "@ im = Chinput"
Export LANG LC_ALL LC_CTYPE KDE_LANG XMODIFIERS
Chinput &
Exec gnome-session (if GNOME is used)
Exec kde2 (if KDE is used)
  
Configure XFree86 4.0
  
XFree86 4.0.2 uses the xtt module to support the TrueType font of GB/Big5. Therefore, xfs-xtt is no longer required. It is relatively easy to configure XFree86 4.0, just add FontPath "/usr/lib/X11/fonts/TrueType" in the Section "Files" Section of/etc/X11/XF86Config-4 ", replace Load "freetype" with Load "xtt. Comment out FontPath "unix/: 700.
  
If the x-ttcidfont-conf version is later than 8.0, you can add the following statement in the Section "Files" of the/etc/X11/XF86Config-4:
  
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/True/Type /"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID /"

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.