[SCIM] SCIM on kde does not work with firefox

Mark Marszal blueillusion at dccnet.com
Sat Nov 6 04:42:27 PST 2004


Hi again, i think we are almost there
I followed step 2 because i had - - userlocales
type
> export XMODIFIERS="@im=SCIM"
> export GTK_IM_MODULE=scim
> than
> 
> type firefox.

will run firefox. But if i try starting firefox outside of terminal,
scim will not work. Also, putting 
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
in my .xinitrc apparently has no effect because when i restart X (using
GDM with kde) and start scim even in terminal, then open firefox in
terminal, firefox doesnt not show in the terminal that it is using scim.
So in short. I can only get firefox to work with scim if i type:
export XMODIFIERS="@im=SCIM"
> export GTK_IM_MODULE=scim 
every single time in terminal. Then i can run firefox with scim.


On Fri, 2004-11-05 at 07:38, Kitae wrote:
> Hi
> On Thu, 2004-11-04 at 18:36 +0000, Mark Marszal wrote:
> > running locale shows:
> > LANG=
> > LC_CTYPE="POSIX"
> > LC_NUMERIC="POSIX"
> > LC_TIME="POSIX"
> > LC_COLLATE="POSIX"
> > LC_MONETARY="POSIX"
> > LC_MESSAGES="POSIX"
> > LC_PAPER="POSIX"
> > LC_NAME="POSIX"
> > LC_ADDRESS="POSIX"
> > LC_TELEPHONE="POSIX"
> > LC_MEASUREMENT="POSIX"
> > LC_IDENTIFICATION="POSIX"
> > LC_ALL=
> 
> You seems to be not set any locale.
> I think that doesn't good idea for using scim or other xim for cjk
> using.
> 
> 
> > 
> > set | grep -i scim shows nothing at all
> > I havent recompiled with the toolkit option because im using portage
to
> > compile these options. i will search for a use flag for it and once
i
> > recompile i will e-mail you again.
> 
> set | grep -i scim, show not anything?
> that mean you didn't set anything for scim.
> 
> I read all your posting.
> I also use gentoo linux, 
> 
> I suggest you try to use en_US.UTF-8 locale
> 
> First.
> etcat -u glibc
> that will show your installed glibc USE flag
>  - - userlocales : .....
> if set like that you can go Second,
> or if  you have uselocales flage
>  + + userlocales :...
> you should check 
> /etc/locales.build
> in that file put the locale, that you want to support.
> I suggest you put 
> en_US.UTF-8/UTF-8
> in middle of file.
> 
> after edit that file you should re emrege glibc.
> but that have to got too long time.
> so manualy
> do
> localedef -i en_US -c -f UTF-8 en_US.UTF-8
> 
> That need at one time. next glibc upgrade will make so that will be
not
> need again.
> 
> Second 
> remove before any LANG or LC_CTYPE setting from Xscript, resource or..
> any where.
> 
> make /etc/env.d/02locale file
> and put that line.
> LANG="en_US.UTF-8"
> 
> (for en_US.UTF-8 locale all cover only using English, menu, message
> almost everything,  and  also cover other language display ability if
> you have font).
> after save that file.
> run "env-update" by root
> 
> 
> just check 
> /etc/scim/global
> that line contain.
> "/SupportedUnicodeLocales = en_US.UTF-8"
> If you didn't touch that file, that should be there.
> 
> re login, you want to use X-window
> 
> You can put 
> export XMODIFIERS="@im=SCIM"
> export GTK_IM_MODULE=scim
> in you .xinitrc file
> but before put them I suggest You try manually so
> remove all old setting for scim 
> just start X
> 
> run 2 terminal, xterm or others
> in first terminal
> do
> "locale"
> that should be like
> 
> terry at toy terry $ locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
> terry at toy terry $
> 
> if than do
> "scim"
> you can see scim booting and loading message.
> if there is no error message.
> than go second terminal
> 
> type
> export XMODIFIERS="@im=SCIM"
> export GTK_IM_MODULE=scim
> than
> 
> type firefox.
> 
> that time you should can be use firefox with scim.
> If you can't there will be some error message.
> 
> If work, you just setting you x script or resource file for you
> X-windows or xdm.  
> > 
> > 
> > On Thu, 2004-11-04 at 20:13, Kitae wrote:
> > > Hi,
> > > 
> > > On Thu, 2004-11-04 at 11:34 +0000, Mark Marszal wrote:
> > > > Hi everyone. None of your ideas worked. I recompiled firefox and
it
> > > 
> > > do you use --enable-default-toolkit=gtk2  for firfox or mozilla?
> > > if not you can't use your firfox with GTK_IM_MOULE=
> > > 
> > > And, first.
> > > Start two xterm or other terminal.
> > > on xterm and type
> > > locale
> > > check locale setting is correct.
> > > type 
> > > "set | grep -i scim"
> > > check setting is correct.
> > > If all is correct,
> > > do
> > > kill -9 $(ps aux | grep [s]cim | awk '{print $2}')
> > > and restart
> > > scim -d
> > > 
> > > and in other xterm
> > > type 
> > > "firefox"
> > > try to attache scim  with trigger key.
> > > 
> > > If still don't use scim then,
> > > What message or error show those two terminal?
> > >  
> > > 
> > > > still didnt work. Mozilla web browser and firefox are the only
programs
> > > > that do not work with scim! is there any other ideas you guys
can help
> > > > me with? running firefox from console only gives me: no running
windows
> > > > found. It says nothing else and then starts firefox.
> > > > I tried export GTL_IM_MODULE=xim and that didint work either.
> > > > 
> > > > _______________________________________________
> > > > scim mailing list
> > > > scim at freedesktop.org
> > > > http://freedesktop.org/mailman/listinfo/scim
> > > > 
> > > > 
> > > 
> > 
> > 
> > 
> 



More information about the scim mailing list