View previous topic :: View next topic |
Author |
Message |
ryanli n00b
Joined: 20 Oct 2010 Posts: 29
|
Posted: Tue May 03, 2011 6:32 am Post subject: IBus not working on GNOME: No input window |
|
|
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 |
|
|
ryanli n00b
Joined: 20 Oct 2010 Posts: 29
|
|
Back to top |
|
|
ryanli n00b
Joined: 20 Oct 2010 Posts: 29
|
Posted: Tue May 03, 2011 7:24 am Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue May 03, 2011 3:32 pm Post subject: |
|
|
Do you export XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE with correct values ? |
|
Back to top |
|
|
ryanli n00b
Joined: 20 Oct 2010 Posts: 29
|
Posted: Wed May 04, 2011 7:16 am Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed May 04, 2011 11:18 am Post subject: |
|
|
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 |
|
|
ryanli n00b
Joined: 20 Oct 2010 Posts: 29
|
Posted: Wed May 04, 2011 1:01 pm Post subject: |
|
|
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 |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue Sep 27, 2011 6:46 am Post subject: |
|
|
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 |
|
|
|