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
UBUNTU 8.10 Amsn 支持SCIM 中文方法。
-
- 帖子: 72
- 注册时间: 2006-06-07 11:27
-
- 帖子: 686
- 注册时间: 2007-11-30 15:17
- 来自: 福建
Re: UBUNTU 8.10 Amsn 支持SCIM 中文方法。
export GTK_IM_MODULE="scim"
不会和其他软件冲突吗?比如realplayer
不会和其他软件冲突吗?比如realplayer