You are not logged in.

#1 2014-11-17 18:18:46

ivanoff
Member
Registered: 2012-03-18
Posts: 78

Ibus not working ONLY in Firefox

Hello,
I can't make ibus work in firefox (33.1.1).
I works fine with QT/KDE and a lot of gtk or other applications (gedit, thunderbird, gimp, skype).
BUT still nothing for firefox, like it's not taken into account, I type with my normal keyboard, not with ibus.
I didn't try this : 

export GTK_IM_MODULE_FILE=/etc/gtk-2.0/gtk.immodules

because I don't have this file in my system and the following line:

export GTK_IM_MODULE_FILE=/usr/lib/gtk-3.0/3.0.0/immodules.cache

makes firefox crash

What did I miss according to you ?
Sorry if this topic is a duplicate of another one, I didn't find anything already in the forums.
Thank you!

Offline

#2 2014-12-02 22:38:22

ivanoff
Member
Registered: 2012-03-18
Posts: 78

Re: Ibus not working ONLY in Firefox

I made some progress.
Firefox can work fine, but I have to launch the ibus-daemon outsite the .xprofile, in a shell after the login.
I don't understand how ibus is supposed to launch anyway. I doesn't automatically happen, in my case.
Thanks

Offline

#3 2014-12-04 16:49:39

Ashur
Member
Registered: 2013-07-26
Posts: 2

Re: Ibus not working ONLY in Firefox

I make some change in my ~/.xsession

#!/bin/sh

#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

/bin/bash --login -i ~/.xinitrc
/usr/bin/ibus-daemon -drx

still export variable in .xprofile

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

re-login.
my ibus-chewing is back both in firefox & chromium

FYI

Offline

#4 2014-12-04 20:15:51

ivanoff
Member
Registered: 2012-03-18
Posts: 78

Re: Ibus not working ONLY in Firefox

Good idea Ashur, but it doesn't work in my case.
.xsession doesn't seem to be executed. The deamon is not launched.
I am using kdm

Offline

#5 2015-01-03 18:43:32

Syl
Member
Registered: 2009-06-24
Posts: 43

Re: Ibus not working ONLY in Firefox

Here is how I solved this issue.

I noticed that if I stopped ibus and restarted it, then ibus was working with firefox.
So it point me out that the problem might be related to loading timing.

$ ibus exit
$ ibus-daemon --xim 

So I get off the kick-off of ibus in my .xinitrc

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus  
# ibus-daemon -drx
 
exec cinnamon-session

And added -in my cinnamon settings- in the starting application settings:

ibus-daemon -drx


Having the daemon starting later, solved the problem, and ibus is now working correctly with firefox.


広島のお好み焼きおたくです

Offline

Board footer

Powered by FluxBB