Gentoo Forums
Gentoo Forums
Quick Search: in
scim goes wrong [half solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
wokick
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 97

PostPosted: Thu Aug 25, 2005 10:43 am    Post subject: scim goes wrong [half solved] Reply with quote

原先一直用scim 1.2,(scim + scim-pinyin)。在任何程序下,输入中文都没有问题。
今天安装libXft,更新fontconfig之后,发现scim不能用了。于是干脆把scim和scim-pinyin都升级到最新版本。
可是scim还是不行。

我的scim启动是放在.xprofile文件里,如下
Code:
export LANG="en_US.UTF-8"
export LC_CTYPE="zh_CN.gb2312"
scim -d
export XMODIFIERS="@im=SCIM"
export XIM=SCIM
export XIM_PROGRAM=SCIM


加入
Code:

export GTK_IM_MODULE="scim"

之后,scim在gtk程序下可以正常使用了,但是其它程序,譬如qterm和mrxvt等都不行。
请教应该如何修改?难道需要scim-tables之类的包吗?

BTW: When I built scim package, I only use "GTK" USE variable.


Last edited by wokick on Thu Aug 25, 2005 2:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
wokick
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 97

PostPosted: Thu Aug 25, 2005 2:13 pm    Post subject: Reply with quote

经过无数此尝试,发现是LC_CTYPE的问题。
把LC_CTYPE这句从xprofile里面去掉就可以了。
但是这样子mrxvt无法输入中文了,可惜。

另外一个严重问题是,openoffice里面输中文,会导致openoffice死掉。
不知道这是scim和openoffice的冲突,还是我用了不稳定版libXft的问题。
Back to top
View user's profile Send private message
wokick
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 97

PostPosted: Thu Aug 25, 2005 9:10 pm    Post subject: Reply with quote

OK. I gave up. Anyway, I rarely input chinese in virtual terminal.

However, I think this may be a problem (bug?) of scim, becuase with the same settings, scim 1.2 works very well with every program I am using. When comes to scim 1.4.2, shit begins to happen.
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Tue Aug 30, 2005 8:47 pm    Post subject: Reply with quote

我一直使用scim都沒有問題,有問題也臨時地繞道解決了。 http://forums.gentoo.org/viewtopic-t-307728.html 好運氣!:)

這是我在.xinitrc 內關於 輸入軟件的配置參數:
Quote:

export LANG=zh_TW.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

export G_FILENAME_ENCODING=@UTF-8

#scim -d




對了,
wokick wrote:
把LC_CTYPE这句从xprofile里面去掉就可以了。
但是这样子mrxvt无法输入中文了,可惜。

可以參考我以前的那個帖,相信是可以解決的。
_________________
AKar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum