Chinese in Debian——Debian 下的中文设置

这篇Mini Howto旨在帮助Debian用户建立中文环境,以便阅读和输入中文。主要步骤包括:生成相关地区设置、安装中文字体、安装输入法引擎、设置地区和调整应用程序设置。推荐使用scim作为输入法,并详细介绍了如何配置字体、启动scim以及设置locale。
摘要由CSDN通过智能技术生成

Chinese Debian Mini Howto
Version 0.3. Last update: April 16, 2006.
Copyright (c)  2006  Qiming LI (Qiming.Li AT IEEE dot ORG).

Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.2or any later version published by the Free Software Foundation;with no Invariant Sections, no Front-Cover Texts, and no Back-CoverTexts.  A copy of the license is included in the section entitled "GNUFree Documentation License".

0. Introduction
The purpose of this mini howto is to help users of Debian GNU/Linux to build a minimum Chinese environment, so that they can read and input Chinese in their systems. To support Chinese language display and input under Debian GNU/Linux, you will need to do the following basic steps.

  • Generate relevant locales
  • Install Chinese fonts
  • Install an input method (IM) engine
  • Set locale
  • Adjust application settings (if necessary)

In the rest of this text, I will explain these steps one by one.Most of the commands below need to be run in a terminal with root privilege.

1. Generating
LocalesRun dpkg-reconfigure locales, and choose the following items.

  • en_US ISO-8859-1
  • zh_CN GB2312
  • zh_CN.GBK GBK
  • zh_CN.UTF-8 UTF-8
  • zh_TW BIG5
  • zh_TW.UTF-8 UTF-8

Some of these are optional. For example, if you are using Simplified Chinese only,you would not need the last two items.After this you will be prompted for the default locale you want to use.

NOTE: Sometimes you need to reboot to get the new locales working.To avoid potential problems, it is strongly recommended that you get this correct from the beginning when you install your system.

2. Installing Chinese Fonts
Install at least the following free fonts.Each entry below is of the form package_name (font_name).

  • ttf-arphic-gbsn00lp (AR PL SungtiL GB)
  • ttf-arphic-gkai00mp (AR PL KaitiM GB)
  • ttf-arphic-bsmi00lp (AR PL Mingti2L Big5)
  • ttf-arphic-bkai00mp (AR PL KaitiM Big5)

The first two are for Simplified Chinese, and the other two for

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值