LinuxSir.cn,穿越时空的Linuxsir!

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

SCIM problem!-Installed, but unusable.

[复制链接]
发表于 2006-10-26 23:54:23 | 显示全部楼层 |阅读模式
I use the command apt-get to install SCIM hoping my Freespire could support chinese input. But, it doesn't work. The installation process was expressed in the article "Make Debian support Chinese (eng)".

First, I get the following packages installed.
scim - SCIM (Smart Common Input Method platform)
scim-config-gconf - SCIM Gconf settings module
scim-config-socket – SCIM Socket settings module
scim-frontend-socket - SCIM Socket frontend module
scim-gtk2-immodule - SCIM GTK2 IMModule input backend
scim-server-socket - SCIM Socket server module
scim-chinese (optional) - SCIM Chinese Smart Pinyin input method module (Will rename as scim-pinyin in next version)
scim-tables-zh - SCIM Chinese input tables (including Cangjie5[仓颉五代],


Second, I generate the data of the following locales
zh_CN
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_TW
zh_TW.big5
zh_TW.utf8

Third, Create a new file /etc/X11/Xsession.d/95xinput with the following lines:
case "$LANG" in
zh_TW*)
    /usr/bin/scim -d
    XMODIFIERS="@im=SCIM"
    ;;
zh_HK*)
    /usr/bin/scim -d
    XMODIFIERS="@im=SCIM"
    ;;
zh_CN*)
    /usr/bin/scim -d
    XMODIFIERS="@im=SCIM"
    ;;
esac

export XMODIFIERS
export LANG=zh_CN.UTF-8

END!

Does someone kown what's wrong  with this or there are setps I missed.
 楼主| 发表于 2006-10-27 13:19:07 | 显示全部楼层
呵呵,已解决。今天早上起来 开机后发现 SCIM是可以用的 ,但只有 英文 /欧洲语可用 。Locale了 一下给出 一堆类似下面的消息
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory


我在 /etc/X11/Xsession.d/95xinput 中设置的是 export LANG=zh_CN.UTF-8,这里 显示没有这个文件或目录,想了想 ,估计是我写错了 export LANG=zh_CN.utf8.然后重启,一切 OK。
回复 支持 反对

使用道具 举报

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

本版积分规则

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