Re: Scim does not work with openoffice
On Tuesday 03 February 2009 22:26:31 Rodolfo Medina wrote:
> would you
>
> > like me to tell you what I did, and what works and what doesn't work now
> > on my desktop?
>
> Please do. Please if you can report all the settings you did and the
> packages you had to install.
Note that I was attempting to install Japanese, not Chinese. Some of what I
did was specific to Japanese and you would need to change those to Chinese if
you decided to try the same method. Also possibly relevant, I am running KDE
3.5.10 on Debian Lenny. I seem to remember that you are using Gnome.
This is what I did:
# aptitude install anthy anthy-el libanthy0 scim-anthy kasumi
scim-bridge-agent scim-bridge-client-gtk scim-bridge-client-qt
scim-bridge-client-qt4 scim-m17n scim-qtimm scim-tables-additional
scim-tables-ja libskim0 skim
All on one line - but my KMail setting won't allow it. The things I know to
be specific to Japanese are anthy, kasumi and scim-tables-ja. I know that
there is a scim-tables-zh, but I am afraid that I do not know the Chinese
equivalents of the others.
I had the following error message:
dpkg: libgd2-noxpm: dependency problems, but removing anyway as you request:
libgraphviz4 depends on libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>=
2.0.36~rc1~dfsg); however:
Package libgd2-noxpm is to be removed.
Package libgd2-xpm is not installed.
(Reading database ... 137853 files and directories currently installed.)
Removing libgd2-noxpm
so I installed libgd2-xpm.
I added the following lines to /etc/profile:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -f socket -c socket -d
I enabled system tray on my panel so that the icon which had by now appeared
would be visible, right-clicked on it, which brought up a list
including "configure", and clicked on configure.
I then made the following alterations to the default:
Front end -> general scim -> toggle on/off -> I deleted everything except
control+space. I also looked at the keyboard layout, but it was already
correctly set to English (UK), so I left well alone.
Then in IMEngines -> global settings I unticked (unchecked) everything except
Japanese. I had to do this twice, because I failed to notice the elevator at
the side of the window and only unticked those I could already see. :-(
Then I rebooted.
I can now use control+space to toggle between English and Japanese in all K*
programs, OpenOffice.org and Iceweasel (Firefox). I have also tried in
Abiword. It obviously works, but the input is less straightforward, so I
gave up.
I hope that I have not left anything out!
If I have not made anything clear enough, or if you hit any problems that I
may have hit and needed to solve, feel free to ask.
HTH
Lisi
Reply to: