Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IBus not working on GNOME: No input window
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ryanli
n00b
n00b


Joined: 20 Oct 2010
Posts: 29

PostPosted: Tue May 03, 2011 6:32 am    Post subject: IBus not working on GNOME: No input window Reply with quote

Ever since I have installed IBus on GNOME it is not working right.
I am using Ctrl-Space as the key for calling IBus, but it works nowhere, the input method menu doesn't show up.
Clicking on the IBus icon in the panel just shows "No input menu".

If I run "ibus-daemon -v", this is what I got, seemingly unrelated:
Quote:
(ibus-daemon:9370): IBUS-WARNING **: 14:29:06.467078: org.freedesktop.DBus.Error.Failed: Can not get value [general/hotkey->previous_engine]

(ibus-daemon:9370): IBUS-WARNING **: 14:29:06.468173: org.freedesktop.DBus.Error.Failed: Can not get value [general->use_system_keyboard_layout]

(ibus-daemon:9370): IBUS-WARNING **: 14:29:06.468324: org.freedesktop.DBus.Error.Failed: Can not get value [general->use_global_engine]

(ibus-daemon:9370): IBUS-WARNING **: 14:29:06.468469: org.freedesktop.DBus.Error.Failed: Can not get value [general->embed_preedit_text]

(ibus-daemon:9370): IBUS-WARNING **: 14:29:06.468611: org.freedesktop.DBus.Error.Failed: Can not get value [general->enable_by_default]
** Message: Use database /usr/share/ibus-pinyin/db/open-phrase.db
(ibus-daemon:9370): IBUS-DEBUG: 14:29:06.786263: From ::1.1 to :1.3, Error: org.freedesktop.DBus.Error.Failed : Can not get value [panel->show_icon_on_systray]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.671419: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [general/hotkey->previous_engine]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.672527: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [panel->position]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.675144: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [panel->show_icon_on_systray]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.675880: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [general->embed_preedit_text]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.676251: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [general->use_system_keyboard_layout]
(ibus-daemon:9370): IBUS-DEBUG: 14:29:43.676622: From ::1.1 to :1.4, Error: org.freedesktop.DBus.Error.Failed : Can not get value [general->use_global_engine]


I am using Python 2.6, and reinstalling ibus doesn't help with the problem at all.
Back to top
View user's profile Send private message
ryanli
n00b
n00b


Joined: 20 Oct 2010
Posts: 29

PostPosted: Tue May 03, 2011 6:33 am    Post subject: Reply with quote

I have posted a report upstream but got no response at all.
http://code.google.com/p/ibus/issues/detail?id=1232
Back to top
View user's profile Send private message
ryanli
n00b
n00b


Joined: 20 Oct 2010
Posts: 29

PostPosted: Tue May 03, 2011 7:24 am    Post subject: Reply with quote

Well, I found out that in the gnome-terminal, if I selected "X Input Method" as the input method in context menu, I can successfully use IBus. However, in other places without input method selects in context menu, I am still unable to call IBus.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue May 03, 2011 3:32 pm    Post subject: Reply with quote

Do you export XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE with correct values ?
Back to top
View user's profile Send private message
ryanli
n00b
n00b


Joined: 20 Oct 2010
Posts: 29

PostPosted: Wed May 04, 2011 7:16 am    Post subject: Reply with quote

VoidMage wrote:
Do you export XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE with correct values ?

I thought it was unneeded, but anyway, here is my .xinputrc, linked to /etc/X11/xinit/xinput.d/ibus.conf:

Quote:
XIM=ibus
XIM_PROGRAM="/usr/bin/ibus-daemon"
ICON="/usr/share/ibus/icons/ibus.svg"
XIM_ARGS="--xim"
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
SHORT_DESC="IBus"
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus

if [ -z "$IBUS_SESSION_ID" ]; then
export IBUS_SESSION_ID=`mktemp -u XXXXXXXX`
fi


And
Quote:
$ echo $XMODIFIERS:$GTK_IM_MODULE:$QT_IM_MODULE
@im=ibus:ibus:ibus
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed May 04, 2011 11:18 am    Post subject: Reply with quote

Actually, other than those three vars, I'm not setting anything, just letting xdg autostart file work.
What does 'emerge -1pv ibus' print ?
Back to top
View user's profile Send private message
ryanli
n00b
n00b


Joined: 20 Oct 2010
Posts: 29

PostPosted: Wed May 04, 2011 1:01 pm    Post subject: Reply with quote

VoidMage wrote:
Actually, other than those three vars, I'm not setting anything, just letting xdg autostart file work.
What does 'emerge -1pv ibus' print ?


I used to have it working before I reinstalled my Gentoo. Had the same with IBus in the past with other distributions.

Here you are:

Quote:
# emerge -1pv ibus
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] app-i18n/ibus-1.3.9 USE="X gconf gtk nls python -doc (-introspection) -vala" 0 kB



Nothing strange, really.
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Tue Sep 27, 2011 6:46 am    Post subject: Reply with quote

It might or might not be relevant, but for my case, I had to do "/etc/init.d/dbus start" solved the problem.
__
sol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum