[Pkg-ime-devel] Re: SCIM and OpenOffice on Debian

Osamu Aoki osamu@debian.org
Mon, 31 Jan 2005 20:48:10 +0100


Hi,

OOo applications default to a non-CJK-friendly font.  If you want to see
your input, you need to select font which provide corresponding
character.

On Mon, Jan 31, 2005 at 11:30:07AM -0600, Ming Hua wrote:
> On Sun, Jan 30, 2005 at 07:13:34PM +0000, Robert Tucker wrote:
> > Dear Ming Hua
> 
> Hi Rober Tucker,
> 
> (I'm cc:ing this to the mailing list for Debian input method packaging,
> hope you don't mind.)
> 
> > I see that you are the Debian maintainer of the SCIM package.
> > 
> > I, and, I believe, a number of other people are experiencing problems 
> > getting SCIM to work with OpenOffice (The GIMP and Java applications).
> > 
> > I've posted for a solution:
> > 
> > http://www.oooforum.org/forum/viewtopic.phtml?t=16540
> > 
> > http://www.linuxquestions.org/questions/showthread.php?s=&threadid=283998
> 
> I am afraid SCIM is not so well used, so probably not too many people
> can answer your questions.  A better place to ask would be the mailing
> lists:
>     upstream:  http://lists.sourceforge.net/lists/listinfo/scim-user
>     Debian:  the Email address is pkg-ime-devel@lists.alioth.debian.org,
>              but unfortunately alioth.debina.org is offline for
>              maintainence now, so I can't give you a link.  Go to
>              http://alioth.debian.org and search for project pkg-ime
>              when it's back online.
> And of course, sending Emails to me is fine, too.
> 
> > but I'm doubtful many people know the answer.
> > 
> > Your enlightenment or direction to a source of information would be most 
> > appreciated.
> 
> These are actually more than one problem, so I can't answer for sure.
> First you must make sure you have a correct locale.  Look at the output
> of ``locale'' in your X enviroment (say, from a terminal), and if it's
> not a *.UTF-8 locale or a zh_CN.* locale, you are going to have
> problems.  

Although non-UTF-8 locale should work, I recommend not to bother.  Just
use UTF-8 locale for all these new X applications.

> Set it to a UTF-8 one (en_US.UTF-8 would be the easiest,
> otherwise you need to modify the configuration files, see
> /usr/share/doc/scim/README.Debian for details) and try again.


Yes :-) I suggest using en_US.UTF-8 as a reference locale reporting
problem.  If it does not work under this locale, we know it is not minor
configulation issue.

> I can also give two suggestions:  1.  Try over the spot mode.  You need
> to go to SCIM setup program (right click SCIM panel -> Setup, or run
> command ``scim-setup'', go to FrontEnd -> X Window, unselect ``On The
> Spot''.  2. Try the GTK+ IM mode instead of XIM.  Basically you need to
> set GTK_IM_MODULE="scim" for X environment.  Still, see
> /usr/share/doc/scim/README.Debian for details.

I for one like GTK+ IM mode.  

> You may need extra effort to make Java work (set up fonts, etc.), as I
> don't have any experience myself, I can't provide more help.  But these
> should work for OO.o and GIMP (I suspect they are the ``on the spot''
> problem, if you set your locale correct).

Can you tell us example URL for this Java test.  I have my mozilla
configured for java.  So far my bank site (I think it is some java
script) seem to eat UTF-8 data properly displayed.

> I'll add more instructions about these in README.Debian, thanks for
> bring this up.

Yes certainly.  By the way, this poster had intreguing action of trying
both XIM and GTK IMModule but at the end he mention:

# gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 

Does user have to do this?  I thought maintainer script takes care these
things in Debian if needed.

As I see Debian postinst have /usr/sbin/update-gtk-immodules

Osamu