Help > Software

(Solved) Re: how to make scim as default input method including OpenOffice

(1/3) > >>

ravi_npatty:
Dear All,

  I need scim for typing in my local language. I am able to to in some applications which offer context menu (right click) option to chose input method. In most of the applications which do not give context menu option to chose IM, I am unable to use my local language. Right now I am using mousepad (text editor) to type in my language and copy paste into word processors. I am looking for a solution to make scim as default input method in all applications.
Thanks in advance for helping me.

ravi_npatty:
I googled to solve this and found the following helps in making scim as default IM.

Add the following lines in '/etc/sysconfig/i18n'
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM
(I think restart required for effecting this change)
(I got the trick from
http://www.scim-im.org/wiki/documentation/installation_and_configuration/mandriva_linux_formerly_mandrakelinux/system_configuration )

This helps in making scim as default IM in all applications. But it does not work in OpenOffice. I tried to capture the outputs generated by starting openoffice from console. I am posting the output here.

(soffice:11650): Gtk-WARNING **: /opt/openoffice.org3/program/../basis-link/ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libscim-1.0.so.8)

(soffice:11650): Gtk-WARNING **: Loading IM context type 'scim' failed

Can someone help me in getting scim work with openoffice.

Thanks

cwchia:
I am also facing this problem for SCIM/IBus with OOo. No matter what I try, SCIM and IBus are not co-operating with OOo (both the PCLinuxOS /G-OOo via Get OpenOffice.org script as well as the vanilla OOo from OO.o) :'( :'( :'(

cwchia:
It's working for me now!!! ;D ;D ;D

I found this: http://math.suda.edu.cn/fliu/showarticle.php?a=1011

Loosely translated:


--- Code: ---Gentoo system,openoffice 3.2.0,unable to use scim. Terminal shows the following output:

(soffice:4103): Gtk-WARNING **: /usr/lib64/openoffice/program/../basis-link/ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libscim-1.0.so.8)
(soffice:4103): Gtk-WARNING **: Loading IM context type 'scim' failed

solution: locate the /lib directory in the openoffice installation path, then

cd /usr/lib64/openoffice/ure/lib
mv libstdc++.so.6 libstdc++.so.6.orig
mv libgcc_s.so.1 libgcc_s.so.1.orig
--- End code ---

I found that the vanilla OOo is installed in /opt and the  /lib directory is located at

/opt/openoffice.org3/basis-link/ure-link/lib/

so in konsole I type

su [enter root password]
cd /opt/openoffice.org3/basis-link/ure-link/lib/
mv libstdc++.so.6 libstdc++.so.6.orig
mv libgcc_s.so.1 libgcc_s.so.1.orig

and BINGO!!!!!

Now I will try the Go-oo build to see if it work or not. I am facing some nuisance with the Go-oo build, where can I file a bug?

ravi_npatty:
Thanks a lot Cwchia,

This works fine in openoffice installed thru getopenoffice also.
Once again thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version