LinuxSir.cn,穿越时空的Linuxsir!

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

Can't make SCIM work on WindowMaker. Help!

[复制链接]
发表于 2004-11-27 19:58:30 | 显示全部楼层 |阅读模式
I once successfully setup scim on Gnome. But now, I just can only type in English.
发表于 2004-11-28 09:56:46 | 显示全部楼层
add the following line in ~/GNUstep/Library/WindowMaker/autostart. Change zh_CN.gbk to zh_CN if you use GB2312 locale.

LC_ALL=zh_CN.gbk LANG=zh_CN /usr/local/bin/scim -d &
 楼主| 发表于 2004-11-28 12:39:21 | 显示全部楼层
最初由 terminator 发表
add the following line in ~/GNUstep/Library/WindowMaker/autostart. Change zh_CN.gbk to zh_CN if you use GB2312 locale.

LC_ALL=zh_CN.gbk LANG=zh_CN /usr/local/bin/scim -d &



Thanks for your help, Terminator.

But it can't work according to your direction. I think I made another wrong operation for it. Could you like to give me more help?

Debian 3.1 Sarge + WindowMaker
(contact with me via wgdo@msn.com)
发表于 2004-11-28 15:15:18 | 显示全部楼层
then you need to run applications like the following:
   $ LC_CTYPE=zh_CN.gbk gedit  & # if you use bash
or
   % env  LC_CTYPE=zh_CN.gbk gedit &  # if you use csh/tcsh

remember to change zh_CN.gbk to zh_CN if you run scim with LC_ALL=zh_CN.

if you do not want to type LC_CTYPE all the time, add the following lines after starting scim in the autostart file:

  LC_CTYPE=zh_CN.gbk
  export LC_CTYPE
  LC_ALL=
  export LC_ALL
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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