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

Re: getting scim to work on KDE



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

H.S. wrote:
> Kelly Clowers wrote:
>> On 10/24/07, H.S. <hs.samix@gmail.com> wrote:
>>> I tried with xcim:
>>> $> cat .xinput.d/en_CA
>>> #
>>> # Use "X input Method" for all applications
>>> #
>>> # Per Ming's Documentation in SCIM, XIM Input Method is activated
>>> # not only for old X-applications but also for GTK and QT appplication.
>>> #
>>> # If a user wish to use, GTK Input Method, (s)he can right-click input
>>> # area and select "Input Methods" and change from "X input Method" to
>>> # "SCIM Input Method".
>>> #
>>>
>>> XIM=SCIM
>>> XIM_PROGRAM=/usr/bin/scim
>>> XIM_ARGS="-d"
>>> GTK_IM_MODULE=xim
>>> #GTK_IM_MODULE="scim"
>>> QT_IM_MODULE=xim
>>> #QT_IM_MODULE="scim"
>>> DEPENDS="scim,scim-anthy|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"
>>>
>>> With xim, it doesn't work at all. I just get the scim keyboard in the
>>> panel but not its toolbar and neither can I change the input.
>>>
>>> Using scim, however, it works except in KDE applications.
>>>
>>> Here are the packages I have related to scim:
>>> $> dpkg -l *scim* *m17n* | grep ^i | gawk '{print $2}'
>>> libm17n-0
>>> libscim8c2a
>>> m17n-contrib
>>> m17n-db
>>> scim
>>> scim-bridge
>>> scim-bridge-agent
>>> scim-bridge-client-gtk
>>> scim-bridge-client-qt
>>> scim-gtk2-immodule
>>> scim-m17n
>>> scim-modules-socket
>>>
>>>
>>> Any other suggestions?
>> Not any really great ones, but you could check your environmental variables
>> (type "env" on the command line) to make sure they are right (environmental
>> variables can be overridden depending on the read order of files they are in).
>>
>> XIM_PROGRAM=scim -d
>> QT_IM_MODULE=scim
>> GTK_IM_MODULE=scim
>> XMODIFIERS=@im=SCIM
> 
> 
> I have:
> $> env | grep -i im
> QT_IM_MODULE=scim
> XMODIFIERS=@im=SCIM
> GTK_IM_MODULE=scim
> 
> 
> so XIM_PROGRAM=scim -d  is missing. I will try by including that.
> 

I believe that it is im-switch that sets all needed environment
variables and launch the input method when the session starts.

So one should not have to worry about these as long as one's locale is
properly set.

> 
>> (I am not using scim-bridge, I think it is just a way to work around C++
>> version issues, which you shouldn't have in Debian)
>>
> 
> Okay.
> 
> 
>> Also, are you using Debian stable or testing or what?
> 
> Testing.
> 
> 
>> In the scim setup window, does your input method have its own listing under
>> "IMEngine"? If so, does it have an on/off or trigger setting that
>> agrees with the
>> "global setup" setting? (I am not sure this is needed, but that is how mine is.)
> 
> I only have Global Setup which has all the keyboard layouts. I can
> choose any of them successfully in all application except KDE ones.
> 

scim is only an input method platform. Input method modules should be
installed based on it in order for it to work. They should appear in the
IMEngine section of the setup window.

> thanks,
> ->HS
> 
> 
>> These might help:
>> https://help.ubuntu.com/community/SCIM
>> https://help.ubuntu.com/community/SCIM/Kubuntu
>>
>>
>> Cheers,
>> Kelly
>>
>>
> 
> 

HTH

- --
Cheers,

Wei Chen
http://www.acplex.com/people/wchen/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHIYHdCIqXQV6BF28RAjUsAJ447VkDCMn1/6y7jxqvxlK6xm0ViQCgos8F
QXnREHwXA5D54jwupNhTt5Q=
=zlqE
-----END PGP SIGNATURE-----



Reply to: