You are not logged in.

#1 2011-03-07 15:18:49

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

[SOLVED] No Input Methods work for me

Hi,

I've tried to install all the different IMEs available on arch, ibus, scim, uim... nothing seems to work on my system for some reason. I looked all over the Internet trying to find something that'd get any IME working at all, to no success. I went back to trying IBus after so many failures. The only thing I haven't tried is a complete reinstall of my arch box (which is something I really don't want to do). Any help would be absolutely great.

My current /etc/profiles have these lines:

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

I purged the IMs from my system and re-installed ibus

running ibus processes:

nicodoggie      6091  6064  0 22:25 ?        00:00:00 /usr/bin/ibus-daemon --xim
nicodoggie      6095  6091  0 22:25 ?        00:00:00 [ibus-gconf] <defunct>
nicodoggie      7538  6091  0 22:48 ?        00:00:00 /usr/lib/ibus/ibus-gconf
nicodoggie      7540  6091  0 22:48 ?        00:00:00 /usr/bin/python2 /usr/share/ibus/ui/gtk/main.py
nicodoggie      7542     1  0 22:48 ?        00:00:00 /usr/lib/ibus/ibus-x11 --kill-daemon
nicodoggie      7546  6091  0 22:48 ?        00:00:00 python2 /usr/share/ibus-skk/engine/main.py --ibus
nicodoggie      7979  6601  0 23:03 pts/2    00:00:00 grep ibus

Contents of my gtk.immodules file

# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by usr/bin/gtk-query-immodules-2.0 from gtk+-2.22.1
#
# ModulesPath = /root/.gtk-2.0/2.10.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/2.10.0/immodules:/root/.gtk-2.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/immodules:/usr/lib/gtk-2.0/2.10.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/2.10.0/immodules:/usr/lib/gtk-2.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/immodules
#
"/usr/lib/gtk-2.0/2.10.0/immodules/im-am-et.so" 
"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-thai.so" 
"thai" "Thai-Lao" "gtk20" "/usr/share/locale" "lo:th" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-uim.so" 
"uim" "uim" "uim" "/usr/share/locale" "ja:ko:zh:*" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so" 
"multipress" "Multipress" "gtk20" "" "" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so" 
"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk20" "/usr/share/locale" "ti" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so" 
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ipa.so" 
"ipa" "IPA" "gtk20" "/usr/share/locale" "" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so" 
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so" 
"ibus" "IBus (Intelligent Input Bus)" "ibus" "" "ja:ko:zh:*" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so" 
"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk20" "/usr/share/locale" "ti" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-viqr.so" 
"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so" 
"cyrillic_translit" "Cyrillic (Transliterated)" "gtk20" "/usr/share/locale" "" 

"/usr/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so" 
"inuktitut" "Inuktitut (Transliterated)" "gtk20" "/usr/share/locale" "iu" 

# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.22.1
#

locale output:

LANG=en_US.UTF8
LC_CTYPE="en_US.UTF8"
LC_NUMERIC="en_US.UTF8"
LC_TIME="en_US.UTF8"
LC_COLLATE="en_US.UTF8"
LC_MONETARY="en_US.UTF8"
LC_MESSAGES="en_US.UTF8"
LC_PAPER="en_US.UTF8"
LC_NAME="en_US.UTF8"
LC_ADDRESS="en_US.UTF8"
LC_TELEPHONE="en_US.UTF8"
LC_MEASUREMENT="en_US.UTF8"
LC_IDENTIFICATION="en_US.UTF8"
LC_ALL=

Another thing I've noticed is that the Input Method sub-menu in the context menu of my GTK apps only have two options available: None and System (Simple).

Thanks in advance,

Nico

Last edited by nicodoggie (2011-03-18 10:36:41)

Offline

#2 2011-03-16 03:03:26

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

Re: [SOLVED] No Input Methods work for me

Bump.

No ideas, guys?

Offline

#3 2011-03-17 15:52:02

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: [SOLVED] No Input Methods work for me

I also have the exact same problem. Ibus was working a few days ago so I'm guessing that there's was problem in the latest ibus update.

By the way, I didn't have to change any configuration files for ibus to work before. Just a simple "pacman -S ibus" worked...

Offline

#4 2011-03-18 04:24:42

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

Re: [SOLVED] No Input Methods work for me

That's not the end of it, I've tried scim too, no luck there either. I'm considering a fresh reinstall right now, but I know I'll be lamenting the weeks of configuration my machine already has, reinstalling Arch isn't really a quick and painless process when coupled with a slow Internet connection...

It might be that I forgot to do something to enable any IMs but I just can't make heads or tails of it.

Offline

#5 2011-03-18 10:36:15

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

Re: [SOLVED] No Input Methods work for me

Weirdest thing. I was coding something on Eclipse when I accidentally pressed the trigger keys for SCIM, and it worked! Eclipse doesn't use my fonts with CJK though, but SCIM worked nonetheless.

I tried putting back iBus and it works on Eclipse too (with the --xim tag).

Since I don't have any KDE apps to test ibus on, I installed Kate, and what do you know, it works too! It's was the GTK apps that was causing it. By chance, because last week I tried using Enlightenment for the eyecandy, and saw something in their mailing list about a GTK_IM_MODULE_FILE... It's here http://library.gnome.org/devel/gtk/unst … nning.html.

I set GTK_IM_MODULE_FILE to the location of gtk.immodules (/etc/gtk-2.0/gtk.immodules) and now, I have ibus working now!
Hope this helps someone who has the same problem too. big_smile

Offline

#6 2011-03-18 15:42:15

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: [SOLVED] No Input Methods work for me

Thanks for that info! It works now! I wonder why it worked before and now requires GTK_IM_MODULE_FILE to be set manually...

Anyway, I just put this in /etc/profile.d/ibus_fix.sh

#!/bin/bash
export GTK_IM_MODULE_FILE="/etc/gtk-2.0/gtk.immodules"

Offline

#7 2011-03-19 10:16:11

nicodoggie
Member
Registered: 2010-12-31
Posts: 15

Re: [SOLVED] No Input Methods work for me

I know, right? It's probably some upstream issue that made its way to us... Though, I wonder why not a lot of Archers who use ibus don't seem have this problem...

Offline

Board footer

Powered by FluxBB