| View previous topic :: View next topic |
| Author |
Message |
borden_hawk n00b

Joined: 25 Nov 2005 Posts: 32 Location: Japan
|
Posted: Wed Apr 19, 2006 11:44 pm Post subject: Problem with SCIM and Firefox [SOLVED] |
|
|
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 11:59 am; edited 1 time in total |
|
| Back to top |
|
 |
frostschutz Veteran


Joined: 22 Feb 2005 Posts: 1913 Location: Germany
|
Posted: Thu Apr 20, 2006 4:54 am Post subject: |
|
|
| 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 |
|
 |
borden_hawk n00b

Joined: 25 Nov 2005 Posts: 32 Location: Japan
|
Posted: Thu Apr 20, 2006 9:51 am Post subject: |
|
|
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 |
|
 |
frostschutz Veteran


Joined: 22 Feb 2005 Posts: 1913 Location: Germany
|
Posted: Thu Apr 20, 2006 10:01 am Post subject: |
|
|
| Do you have GTK_IM_MODULE=scim set? |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Thu Apr 20, 2006 10:55 am Post subject: |
|
|
There's a node on the wiki for the environmental variables. You may also want to emerge scim-qtimm. _________________ "So they turn the 'For every new Windows you have to buy new hardware' around to 'For every new hardware you have to buy a new Windows'."
Kawa-kun! |
|
| Back to top |
|
 |
borden_hawk n00b

Joined: 25 Nov 2005 Posts: 32 Location: Japan
|
Posted: Thu Apr 20, 2006 11:59 am Post subject: |
|
|
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 |
|
 |
frostschutz Veteran


Joined: 22 Feb 2005 Posts: 1913 Location: Germany
|
Posted: Thu Apr 20, 2006 3:55 pm Post subject: |
|
|
| 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 |
|
 |
borden_hawk n00b

Joined: 25 Nov 2005 Posts: 32 Location: Japan
|
Posted: Thu Apr 20, 2006 7:49 pm Post subject: |
|
|
| 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 |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 371 Location: Hokkaido Japan
|
Posted: Sat Jan 12, 2008 6:17 am Post subject: similar issue |
|
|
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 |
|
 |
|