UBUNTU 8.10 Amsn 支持SCIM 中文方法。

上网、浏览、聊天、下载等
回复
passun
帖子: 72
注册时间: 2006-06-07 11:27

UBUNTU 8.10 Amsn 支持SCIM 中文方法。

#1

帖子 passun » 2008-12-04 13:02

1) Install tcl/tk >= 8.4.13, amsn >= 0.96, scim, and scim's language-specific packages (for instance, scim-pinyin for Chinese, scim-anthy for Japanese or scim-hangul for Korean).

#sudo apt-get install tcl tk

2) If you have only one user or you want to enable SCIM for a specific user, create or modify the ~/.xinitrc file and add these lines at the beginning :
Code:
# SCIM
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="scim"
export XIM_PROGRAM="scim -d"
export QT_IM_MODULE="scim"
scim -d
If you want SCIM to be enabled for all users, you can put these lines in /etc/profile or create an initialization script.

3) Be sure to have your current locale in the first line of /etc/scim/global. For instance, if you use fr_FR.UTF-8 (you can know it by typing locale in a terminal), this line should look like :
Code:
/SupportedUnicodeLocales = zh_CN.UTF-8,en_US.UTF-8
If this is not the case, edit it (as root).

4) Restart your X server or reboot.

5) Enjoy ! Very Happy

http://www.amsn-project.net/forums/view ... c&start=45
purewater
帖子: 686
注册时间: 2007-11-30 15:17
来自: 福建

Re: UBUNTU 8.10 Amsn 支持SCIM 中文方法。

#2

帖子 purewater » 2008-12-05 21:05

export GTK_IM_MODULE="scim"
不会和其他软件冲突吗?比如realplayer
回复