Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't use Scim to input Chinese in Firefox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
honghai
n00b
n00b


Joined: 28 Jan 2005
Posts: 13

PostPosted: Sun Jan 30, 2005 11:21 am    Post subject: Can't use Scim to input Chinese in Firefox Reply with quote

I use Scim to input Chinese, and so far it just can work with gvim. I can't call SCIM to work in FireFox with Ctrl + Space. As the desktop enviroment, I use xfce4.2.

Does anybody know this problem? Thanks in advance.

Code:

export LANG=en_US.UTF-8
#export LANG=en_GB.UTF-8
export LC_TYPE="zh_CN.UTF-8"
export JAVA_HOME="/usr/local/jdk1.5.0"

export CLASSPATH=".:{CLASSPATH}"

export PATH="${JAVA_HOME}/bin:/usr/local/firefox/:${PATH}"

export XIM=scim
export XIM_PROGRAM=scim
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=SCIM
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun Jan 30, 2005 7:42 pm    Post subject: Reply with quote

Do you have gtk2 support enabled with Firefox? It seems like unless you do that scim won't support input fully.
Back to top
View user's profile Send private message
honghai
n00b
n00b


Joined: 28 Jan 2005
Posts: 13

PostPosted: Sun Jan 30, 2005 9:14 pm    Post subject: Reply with quote

First of all thank you very much

yaneurabeya wrote:
Do you have gtk2 support enabled with Firefox? It seems like unless you do that scim won't support input fully.


Do you mean I should add gtk in the make.conf file?

Actually I already added those flags. Below is the USE part from make.conf
Code:

USE="-kde -qt gtk gtk2 gnome cups php httpd java alsa dvd apache2 -arts pam mmx sse alsa cjk xml nls"
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Feb 01, 2005 7:37 am    Post subject: Reply with quote

Interesting. Have you configured the scim gtk applet to show up somewhere on the screen by chance?
Back to top
View user's profile Send private message
z_sfeng
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 154
Location: Finland

PostPosted: Tue Feb 01, 2005 2:53 pm    Post subject: Reply with quote

No clue.
Maybe try set LC_ALL=zh_CN.utf8 ?
Back to top
View user's profile Send private message
honghai
n00b
n00b


Joined: 28 Jan 2005
Posts: 13

PostPosted: Tue Feb 01, 2005 6:17 pm    Post subject: Reply with quote

yaneurabeya wrote:
Interesting. Have you configured the scim gtk applet to show up somewhere on the screen by chance?


Yes, I already can input Chinese in GVim with scim. :(
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Feb 01, 2005 6:55 pm    Post subject: Reply with quote

That's weird... did you actually emerge firefox with the gtk/gtk2 flag or did you actually just add it after your last emerge of firefox? You need to make sure that gtk/gtk2 support is added in for firefox since that's what allows the scim input bar to come up.

In order to test my theory, run emerge --newuse -p world and see if gtk2 or gtk USE flags are green at all.
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
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