星期一, 七月 10, 2006

Ubuntu Breezy 的中文环境设置

偶最近两天的折腾成果……

1、安装 Chinese Language(废话一句),并将中文设置为默认语言。

2、根据这个 Wiki 美化中文字体,非常地傻瓜。如果你的版权意识非常强烈,或者听说过文泉驿想一睹芳容,完全可以不理会上面那个 Wiki 自己摸索。我认为最主要的战场将是 /etc/fonts/fonts.conf 这个文件。

3、安装中文输入法,官方推荐使用 SCIM 输入平台,可以参考 [1] [2] 这两个链接。需要安装的软件包是: scim, scim-chinese, scim-gtk2-immodule, scim-config-socket, scim-frontend-socket, scim-server-socket。如果需要除拼音以外的输入法,再安装 scim-tables-zh 这个软件包。安装完成后还有两件事,一是设置 SCIM 的环境变量,二是设置系统启动时后台运行 SCIM,[1] 中有详细的说明。

另一个需要注意的是 locale,关于 locale 的作用和设置方法现在还不是很清楚,不在这里吹了。

(注:这里说的是 Breezy 中的设置方法,在 Dapper 中可以进一步简化,比如安装了中文语言并将其作为默认语言输入法就自动可用了。参见 [3])

3 Comments:

Anonymous Seal said...

I really don't like the way dapper integrates SCIM in default install. The problem raises when my default language is not Chinese but I still want SCIM-pinyin. After some googling, i realized that I have to config the font for scim to work, but this step is not very well documented in Dapper wiki.

星期五 七月 14, 02:42:00 上午  
Blogger hanru said...

I don't know whether Breezy has this problem since I haven't switched back to English after I succeeded setting up this Chinese environment, but I'm sure the need to input Chinese in other language environments won't be rare.

星期日 七月 16, 04:47:00 下午  
Anonymous Seal said...

breezy never had this problem.

I think breezy is very solid, unless you have very specific needs for Dapper, dont bother upgrade your system.

星期二 七月 18, 10:28:00 上午  

发表评论

Links to this post:

创建链接

<< Home