You are not logged in.

#1 2010-09-17 15:45:13

winkler
Member
Registered: 2010-09-17
Posts: 4

[SOLVED] iBus not working in KDE applications

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

#2 2010-09-18 04:12:53

darehanl
Member
Registered: 2006-09-08
Posts: 24

Re: [SOLVED] iBus not working in KDE applications

Hi, winkler. Do you have ibus-qt (http://aur.archlinux.org/packages.php?ID=29348) installed?

Offline

#3 2010-09-18 06:28:35

winkler
Member
Registered: 2010-09-17
Posts: 4

Re: [SOLVED] iBus not working in KDE applications

Yes, ibus-qt is installed from the AUR.

Offline

#4 2010-09-19 01:23:32

darehanl
Member
Registered: 2006-09-08
Posts: 24

Re: [SOLVED] iBus not working in KDE applications

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

#5 2010-09-19 10:47:07

winkler
Member
Registered: 2010-09-17
Posts: 4

Re: [SOLVED] iBus not working in KDE applications

echo $QT_IM_MODULE

just returns a blank line,

echo $LANG

returns en_GB.UTF-8.

Offline

#6 2010-09-20 02:31:22

darehanl
Member
Registered: 2006-09-08
Posts: 24

Re: [SOLVED] iBus not working in KDE applications

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

#7 2010-09-20 07:49:13

winkler
Member
Registered: 2010-09-17
Posts: 4

Re: [SOLVED] iBus not working in KDE applications

Seems like it works now, thanks.

Offline

Board footer

Powered by FluxBB