[kde-freebsd] Cannot invoke scim in KDE4 program

Kemian Dang fbsd.kdang at googlemail.com
Sat Sep 13 14:49:48 CEST 2008


Max Brazhnikov wrote:
> On Thu, 11 Sep 2008 01:27:25 +0100, Kemian Dang wrote:
>   
>> Max Brazhnikov wrote:
>>     
>>> On Wed, 10 Sep 2008 21:18:06 +0400, Max Brazhnikov wrote:
>>>       
>>>> You could try these ports:
>>>> http://makc.homeunix.net/kde4/ports/scim-bridge.tar.gz
>>>> http://makc.homeunix.net/kde4/ports/scim-bridge-qt4.tar.gz
>>>>
>>>> Unpack them to /usr/ports/textproc/ and install.
>>>>
>>>> I'll commit them when the portstree will be unfrozen.
>>>>         
>>> I've moved ports to http://people.freebsd.org/~makc/ports/
>>> That's better hosting than my home box ;)
>>>       
>> Hi Max,
>>
>> Thanks for the ports, but I have some problems on running it.
>>
>> I install it following your instruction, then I change
>> QT_IM_MODULE=scim -> QT_IM_MODULE=scim-bridge
>>
>> Restarted KDE4 did not make it work, I still cannot use scim under KDE4
>> program.
>> Please correct me if I am using it in a wrong way.
>>     
>
> Should work.
>
> I have installed:
> ja-scim-canna-1.0.0_8
> scim-1.4.7_3
> scim-bridge-0.4.15
> scim-bridge-qt4-0.4.15
>
> To enable scim for all kde4 users create /usr/local/kde4/env/scim-env.sh 
> containing:
> #!/bin/sh
> export GTK_IM_MODULE=scim
> export QT_IM_MODULE=scim-bridge
>
> It will be picked up by startkde script. Alternatively, you could add this to 
> $HOME/.xinit or $HOME/.xprofile
>
> After starting kde session make sure you have running scim-bridge:
> ~> ps xc | grep scim
> 40025  ??  Ss     0:00.13 scim-launcher
> 40033  ??  Ss     0:00.72 scim-panel-gtk
> 40034  ??  Ss     0:00.00 scim-launcher
> 40035  ??  S      0:00.04 scim-bridge
>
> Now you should be able to use scim in any qt4 and gtk2 apps.
>
> Hope this helps.
>
> Max
>   
The scim-bridge did not start, I only has:
 2133  ??  Is     0:00.10 scim-launcher
 2136  ??  Is     0:00.46 scim-panel-gtk

and I got below repeated in the /var/log/mesages:

Sep 13 13:46:34 kemian scim-bridge: Cannot bind the socket: Address 
already in use
Sep 13 13:46:34 kemian scim-bridge: Failed to allocate the agent. 
Exitting...

I used to put these in the .xprofile as I am using kdm, and last time I 
tried /usr/local/kde4/env/scim-env.sh, which gave the same error.

Thanks,
Kemian



More information about the kde-freebsd mailing list