[kde-freebsd] Cannot invoke scim in KDE4 program
Max Brazhnikov
makc at issp.ac.ru
Fri Sep 12 15:58:23 CEST 2008
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
More information about the kde-freebsd
mailing list