LinuxSir.cn,穿越时空的Linuxsir!

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

菜鸟求助 slackware12中scim输入法问题 (在线等)

[复制链接]
发表于 2007-8-22 21:42:13 | 显示全部楼层 |阅读模式
刚刚编译安装了scim输入法 按照坛子里的教程编译安装成功 但是不能用Ctrl+space启动scim 控制台下面启动后 托盘中出现scim图标 点击选择拼音输入后 还是没有中文输入
重启x后还是如此
安装的软件及顺序如下:
scim-1.4.7
scim-pinyin-0.5.91
scim-tables-0.5.7

系统字体没有用字体安装程序装 直接从win下面复制的simsun和simhei
发表于 2007-8-23 08:49:13 | 显示全部楼层
建议你用小企鹅
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-23 08:55:16 | 显示全部楼层
fcitx也装了 同样的问题 是我系统的字体没有生效还是怎么回事?望高手给予解决
回复 支持 反对

使用道具 举报

发表于 2007-8-23 10:44:29 | 显示全部楼层
看系统的字体有没有生效
fc-list | grep -i sim

LC_CTYPE或者其他LC_变量设了吗?

我的过程
Download and compile scim, scim-pinyin, and skim, using root.
scim 1.4.7
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make instal DESTDIR=/xxx
makepkg scim-1.4.7-i686-1xc.tgz
installpkg scim-1.4.7-i686-1xc.tgz

scim-pinyin 0.5.91
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make instal DESTDIR=/xxx
makepkg scim-pinyin-0.5.91-i686-1xc.tgz
installpkg scim-pinyin-0.5.91-i686-1xc.tgz

skim 1.4.5
scons configure prefix=/usr
scons -j3
mkdir -p /usr/lib/pkgconfig
cp skim.pc /usr/lib/pkgconfig/
scons install DESTDIR=/xxx
makepkg skim-1.4.5-i686-1xc.tgz
installpkg skim-1.4.5-i686-1xc.tgz

I also added the following lines to .profile:
export XMODIFIERS=@im=SCIM
export XIM=SCIM
export XIM_PROGRAM=SCIM

After that restart X.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-23 10:50:54 | 显示全部楼层
另外我的文件管理系统中win盘中的中文全部是问号
能否一并解决
回复 支持 反对

使用道具 举报

发表于 2007-8-23 10:59:00 | 显示全部楼层
win盘中的中文是什么编码的?
回复 支持 反对

使用道具 举报

发表于 2007-8-23 11:01:14 | 显示全部楼层
jiushi wenjianming
回复 支持 反对

使用道具 举报

发表于 2007-8-23 11:02:26 | 显示全部楼层
bash-3.1# fc-list | grep -i sim
���������,NSimSun:style=Regular
������,SimSun:style=Regular
������,SimHei:style=Regular
回复 支持 反对

使用道具 举报

发表于 2007-8-23 11:07:00 | 显示全部楼层
bash-3.1# locale
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
LANG=zh_CN.gb18030
LC_CTYPE="zh_CN.gb"
LC_NUMERIC="zh_CN.gb"
LC_TIME="zh_CN.gb"
LC_COLLATE="zh_CN.gb"
LC_MONETARY="zh_CN.gb"
LC_MESSAGES="zh_CN.gb"
LC_PAPER="zh_CN.gb"
LC_NAME="zh_CN.gb"
LC_ADDRESS="zh_CN.gb"
LC_TELEPHONE="zh_CN.gb"
LC_MEASUREMENT="zh_CN.gb"
LC_IDENTIFICATION="zh_CN.gb"
LC_ALL=zh_CN.gb
回复 支持 反对

使用道具 举报

发表于 2007-8-23 13:58:52 | 显示全部楼层
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

locale好像有点问题?
你的slackware是什么版本的?
好像没有"zh_CN.gb"这个locale吧?试一下zh_CN.gb18030, zh_CN.gbk, 或者zh_CN.utf8看。我用的是zh_CN.utf8.
回复 支持 反对

使用道具 举报

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

本版积分规则

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