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

Bug#441443: SCIM with Anthy do not work with OpenOffice.org Writer



On Sat, 15 Sep 2007, +07:19:24 EEST (UTC +0300),
Ming Hua <minghua-guest@users.alioth.debian.org> pressed some keys:

> On Sat, Sep 15, 2007 at 06:16:46AM +0300, Juhapekka Tolvanen wrote:
> > On Wed, 12 Sep 2007, +17:32:24 EEST (UTC +0300),
> > Ming Hua <minghua-guest@users.alioth.debian.org> pressed some keys:

> > > 2. Without scim running, modify ~/.scim/global file, and add
> > >    "/SupportedUnicodeLocales = fi_FI.UTF-8" line in it.  See the
> > >    "Locales" section in /usr/share/doc/scim/README.Debian.gz for more
> > >    explanation.
> > 
> > It has these lines:
> > 
> > /DefaultConfigModule = simple
> > /DefaultKeyboardLayout = Unknown
> > /DefaultPanelProgram = /usr/bin/scim-panel-kde
> 
> Do you have skim installed as well?  Either way, please change this to
> "/DefaultPanelProgram = /usr/bin/scim-panel-gtk" and try again.

I did that, and that was not enough to fix it. But then...

> > /DisabledIMEngineFactories = 
> > /SupportedUnicodeLocales = en_GB.utf8,en_US.utf8,fi_FI.utf8
> 
> Are you sure that "*.utf8" works the same way as "*.UTF-8"?  If not,
> please use "UTF-8" and try again.

% locale -a
C
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
fi_FI
fi_FI@euro
fi_FI.iso88591
fi_FI.iso885915@euro
fi_FI.utf8
finnish
ja_JP.utf8
POSIX

This is weird. In those locale-names it is utf8 and not UTF-8. But guess
what: I changed those character string in ~/.scim/global as you said and
after relogin SCIM started to work in OpenOffice.org ! And in xterm, too!
Yippee!


> > I think it is ready. But I suggest you add a file called
> > /etc/X11/xinit/xinput.d/scim-bridge to your package called scim. It would
> > look something like this:
> > 
> > XIM=SCIM
> > XIM_PROGRAM="scim"
> > XIM_ARGS="-d"
> > GTK_IM_MODULE=scim-bridge
> > QT_IM_MODULE=scim-bridge
> 
> It's probably more suited for scim-bridge package rather than scim
> package.  Also see bug #442172 [1] I just reported yesterday.
> 
> 1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442172

That sounds bad. Anyway, now I have a file called ~/.xinput.d/scim-bridge
and ~/.xinput.d/fi_FI is a symlink pointing to it. It looks like this:

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=scim-bridge
QT_IM_MODULE=scim-bridge
XMODIFIERS="@im=SCIM"
DEPENDS="scim,scim-anthy,scim-bridge-client-gtk,scim-bridge-client-qt|scim-canna|scim-chewing|scim-pinyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"

That DEPENDS has probably errors.


-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Sou sa, ima mo ore wa mitsukerarenai sonzai no imi ga, dakara motto motto
motto motto motto kono karada ni imi wo kizamitsukeru: 'Tada waratte,
fuminijireba ii.'"                                               Dir en grey





Reply to: