You are not logged in.
I'm trying to get iBus to work in KDE4, but for some reason it only works with Gtk applications, not in Qt/KDE.
I'm using KDM, so I wrote the following in ~/.xsession, not in ~/.xinitrc
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS="@im=ibus"
What could possibly be the cause?
Last edited by winkler (2010-09-20 07:49:32)
Offline
Hi, winkler. Do you have ibus-qt (http://aur.archlinux.org/packages.php?ID=29348) installed?
Offline
Yes, ibus-qt is installed from the AUR.
Offline
Hm... not too sure what the issue is. What does
echo $QT_IM_MODULE
and
echo $LANG
say in Konsole? I have the variables set in ~/.xprofile, so how about setting them in there? This is what my ~/.xprofile looks like:
$ cat ~/.xprofile
export LANG="en_US.UTF-8"
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
OOO_FORCE_DESKTOP=kde4
Last edited by darehanl (2010-09-19 01:23:47)
Offline
echo $QT_IM_MODULE
just returns a blank line,
echo $LANG
returns en_GB.UTF-8.
Offline
OK. Definitely a problem where KDM isn't picking up your settings. Have you tried adding them to ~/.xprofile? According to http://wiki.archlinux.org/index.php/Xprofile , KDM should be looking at this.
If ~/.xprofile doesn't work, try these steps:
1. Start Konsole
2. export QT_IM_MODULE=ibus
3. Start a KDE application, i.e. kwrite.
4. See if ibus works.
Offline
Seems like it works now, thanks.
Offline