Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with SCIM and Firefox [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
borden_hawk
n00b
n00b


Joined: 26 Nov 2005
Posts: 32
Location: Japan

PostPosted: Thu Apr 20, 2006 4:44 am    Post subject: Problem with SCIM and Firefox [SOLVED] Reply with quote

I've got SCIM up and running. For some programs (xterm, konqueror) it works fine, inputs Japanese well. But for other programs (firefox) it allows me to select the input method, but whatever input method I select doesn't work. I can select Anthy, Canna, and so forth, but it won't let me switch from direct input to kana.

I've tried all of the suggestions that I've found in the forums and so far nothing's worked. Any ideas?


Last edited by borden_hawk on Thu Apr 20, 2006 4:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2175
Location: Germany

PostPosted: Thu Apr 20, 2006 9:54 am    Post subject: Reply with quote

xterm probably uses xim, for konqueror it's probably qtimm. Firefox on the other hand is GTK based and probably requires the GTK input module. This should be installed automatically along with SCIM, as long as you have the 'gtk' use flag enabled. You can find out using 'emerge -vp scim'. In the list of use flags shown, +gtk should be included.
Back to top
View user's profile Send private message
borden_hawk
n00b
n00b


Joined: 26 Nov 2005
Posts: 32
Location: Japan

PostPosted: Thu Apr 20, 2006 2:51 pm    Post subject: Reply with quote

Here's the output from emerge -pv scim:

Code:

emerge -pv scim

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-i18n/scim-1.4.2  +gtk -immqt +immqt-bc 2,514 kB


It's already compiled with gtk support. I recompiled it last night and I'm positive it was built using gtk the first time.

Thanks for your help, btw.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2175
Location: Germany

PostPosted: Thu Apr 20, 2006 3:01 pm    Post subject: Reply with quote

Do you have GTK_IM_MODULE=scim set?
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Thu Apr 20, 2006 3:55 pm    Post subject: Reply with quote

There's a node on the wiki for the environmental variables. You may also want to emerge scim-qtimm.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
borden_hawk
n00b
n00b


Joined: 26 Nov 2005
Posts: 32
Location: Japan

PostPosted: Thu Apr 20, 2006 4:59 pm    Post subject: Reply with quote

I had the environmental variables set fine, I just had to emerge scim-qtimm, and everything seems to work now.

Well, it's not working in the terminal, but that's not really important. It's working in firefox, konqueror, gaim, etc.

Thanks for your help!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2175
Location: Germany

PostPosted: Thu Apr 20, 2006 8:55 pm    Post subject: Reply with quote

Hmmm, that's kind of weird. Is your Firefox QT based? I do not have scim-qtimm emerged (actually, I do not have anything related to KDE/QT emerged), and it works fine for me in everything. If your Firefox does not use QT, it seems weird why qtimm should solve anything, as it's not supposed to be related in any way.
Back to top
View user's profile Send private message
borden_hawk
n00b
n00b


Joined: 26 Nov 2005
Posts: 32
Location: Japan

PostPosted: Fri Apr 21, 2006 12:49 am    Post subject: Reply with quote

Yeah, it didn't really make sense to me either. As far as I know I've just got normal firefox. It could've been some weird combination of emerging and rebooting that fixed it too.
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 415
Location: Hokkaido Japan

PostPosted: Sat Jan 12, 2008 11:17 am    Post subject: similar issue Reply with quote

I had a similar issue. scim worked fine with KDE apps but didn't allow me to enter any Japanese text in on firefox or other gtk based apps.

I fixed by enabling the gtk flags on uim and scim in package.use

Code:
cat /etc/portage/package.use | grep im
app-i18n/uim anthy prime canna qt-immodule gtk
app-i18n/scim gtk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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