Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese on CentOS4.1



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Dec 21, 2005 at 02:22:41AM -0500, Scott Robbins wrote:
> On Wed, Dec 21, 2005 at 04:17:08PM +0900, Mark Sargent wrote:
> > 
> > no need for that, Scott, I'm quite happy to play with it, and then once I have 
> > it solved, with help, I'll send you/post the fix. Cheers.
> > 

Mark, let's try to troubleshoot this step by step.  If you haven't fixed
it by the time you see this, would you try the following?

First find out how CentOS refers to UTF8.

locale -a | grep ja_JP.

Say it comes back ja_JP.UTF8, we'll use that (and use utf8 if it comes
out that way.)

Comment the stuff out of .bash_profile and/or .bashrc if you tried it
there.

Assuming you used the same prefix on scim, anthy and scim-anthy, they
should all find each other, so I'm not sure that thread you referred to
is the issue--if you forgot to put a prefix=/usr on one of them, then,
that could be the problem too.  

Make sure canna isn't running at boot by checking /etc/rc3.d and
/etc/rc5.d.  (Just make sure there's nothing with an S, some number and
canna or cannaserver--the S stands for start.)

Log out and log back in, so we can be sure nothing is coming into this
from your .bash_profile.

Make sure of it with pgrep scim.

Now, in any terminal try

export XMODIFIERS='@example.com=SCIM'
export LC_CTYPE=ja_JP.UTF8  (with UTF8 written the way you saw it when
you did the locale -a | grep ja_JP)
export GTK_IM_MODULE="scim"

(This is all we need for this test.)
scim -d

Once it shows scim is up and running, do

uxterm

This will, oddly enough, open a uxterm.  :)

Take a quick look at the terminal in which you typed the command (that
is, the terminal where you typed uxterm) to make sure you're not getting
something like error starting locale

In the uxterm, let's make sure everything's working

pgrep scim

You should get back a few numbers

echo $XMODIFIERS $LC_CTYPE $GTK_IM_MODULE

You should get the @example.com=SCIM ja_JP.UTF8 scim, or something similar.


Now, with bated breath, hit ctrl+space and see if you get that little
widget/applet/thingie in the lower right of your screen.

If you do, try typing in a few things and seeing if it inputs Japanese.
Then, try, from that same uxterm, opening thunderbird and see if you can
input Japanese with it. 


If not, well, it's back to the drawing board. 


- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I laugh in the face of danger.  Then I hide until it
goes away
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDqULu+lTVdes0Z9YRAtLzAJ9Dlx82TsaGEvst69JZPuabUvaeDwCfXYr6
LnZJ3ok6KWcOywiECxjGQBA=
=kywW
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links