Comment #7 on issue 1110 by [email protected]: KDE环境下的gtk程序无法用
Ctrl+space激活ibus
http://code.google.com/p/ibus/issues/detail?id=1110
hi, another PC-BSD newbie here ! I think I have found the answer/fix to
this bug.
I have the same issue with the firefox installed from PBI package.
Ctrl-Space just does not activiate ibus. The even stranger thing is that
ibus woks well with all other apps installed from packages/ports, no matter
gtk or qt .
So this should be a PC-BSD specific problem. Not a ibus bug !
After some invetigation, I found follwing codes from
/usr/local/kde4/env/enable-ibus.sh :
if ....
# In some PBI, iBus GTK IM module makes GTK version mismatch error
# with GTK libraries included in the PBI package.
#GTK_IM_MODULE="ibus" ; export GTK_IM_MODULE
QT_IM_MODULE="ibus" ; export QT_IM_MODULE
XMODIFIERS="@im=ibus" ; export XMODIFIERS
# For PBI applications
GTK_IM_MODULE="xim" ; export GTK_IM_MODULE
GTK_IM_MODULE_FILE=/usr/local/etc/gtk-2.0/gtk.immodules ; export
GTK_IM_MODULE_FILE
/usr/local/bin/ibus-daemon --xim &
fi
So after changing GTK_IM_MODULE from `ibus` to `xim` in my ~/.xprofile
(re-login is needed afterwards)
the firefox from PBI works with ibus as well as other apps do
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en