LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 716|回复: 8

Need to set up Chinese input

[复制链接]
发表于 2008-8-6 09:59:54 | 显示全部楼层 |阅读模式
Hi,

I would like to set up Chinese input. I've tried SCIM and FCTIX. So far no luck.

Any help is appreciated.
发表于 2008-8-6 10:02:07 | 显示全部楼层
Can you descript your problems with more details?
Otherwise no one except you knowing what happened.
回复 支持 反对

使用道具 举报

发表于 2008-8-6 12:06:29 | 显示全部楼层
can you start scim normally?or you just can't use the Ctrl+Shift to start the pinyin module?
have you ever set ./xprofile or ./xinitrc?
is there some thing with your locale settings?


BTW:what window manager do you use?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-6 13:01:23 | 显示全部楼层
I run KDE 3.5.9.

Installed packages:

app-i18n/scim-1.4.5-r1
app-i18n/scim-pinyin-0.5.91-r1
app-i18n/scim-qtimm-0.9.4
app-i18n/scim-tables-0.5.7
app-i18n/skim-1.4.5

~/.xinitrc setting:
LANG="en_US.UTF-8" scim -d
export XMODIFIERS=@im=SCIM
export XMODIFIER=@im=SCIM
export XIM_PROGRAM="scim -d"
export QT_IM_MODULE=scim
export GTK_IM_MODULE=scim
#export LC_CTYPE="zh_CN.GBK"
export LC_CTYPE="zh_CN"
exec startkde

I found one problem is LC_CTYPE does not get re-set to zh_CN.

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

SCIM daemon runs fine. I can start the config window from the panel. However, the default setting "Ctrl+Space" does not work at all.
回复 支持 反对

使用道具 举报

发表于 2008-8-6 13:34:32 | 显示全部楼层
set LC_CTYPE to zh_CN
回复 支持 反对

使用道具 举报

发表于 2008-8-6 13:53:29 | 显示全部楼层
what are the USE flags of scim ?
回复 支持 反对

使用道具 举报

发表于 2008-8-6 14:01:45 | 显示全部楼层
maybe you can try setting LC_CTYPE to zh_CN.UTF-8
回复 支持 反对

使用道具 举报

发表于 2008-8-6 19:41:04 | 显示全部楼层
I set my locale information in /etc/env.d/02locale.
    I think the information you get while running scim in a console might help. Another important thing is your use setting(emerge --info and give out your use setting of app-i18n/scim seperately).
    And using KDE, app-i18n/skim is also a good choice, as it start automatically without any settings.
回复 支持 反对

使用道具 举报

发表于 2008-8-6 23:30:15 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表