View previous topic :: View next topic |
Author |
Message |
friesia Apprentice
Joined: 23 Mar 2007 Posts: 202
|
Posted: Sun Nov 08, 2009 12:42 pm Post subject: ibus + xchat - no input |
|
|
Cannot activate ibus input (Ctrl-Space) in XChat for typing Japanese with anthy. Other apps work well, both GTK and Qt.
If I click on the ibus icon in systray, it says "no input window".
ibus 1.2.0.20091024
XChat 2.8.6-r2
Code: |
$ ps aux|grep ibus
kensuke 6039 0.0 0.0 47960 3448 ? S 13:41 0:03 /usr/bin/ibus-daemon --xim
kensuke 6040 0.0 0.0 66812 3696 ? S 13:41 0:00 /usr/libexec/ibus-gconf
kensuke 6046 0.0 0.9 247156 36764 ? S 13:41 0:04 /usr/bin/python2.6 /usr/share/ibus/ui/gtk/main.py
kensuke 6048 0.0 0.3 150936 15176 ? S 13:41 0:00 /usr/libexec/ibus-x11 --kill-daemon
kensuke 6067 0.0 0.7 238644 32396 ? S 13:41 0:00 /usr/bin/python2.6 /usr/share/ibus-anthy/engine/main.py --ibus
kensuke 27720 0.0 0.0 10240 848 pts/2 S+ 15:41 0:00 grep ibus
$ cat /etc/env.d/99local
XMODIFIERS="@im=ibus"
XMODIFIER="@im=ibus"
GTK_IM_MODULE="ibus"
QT_IM_MODULE="ibus"
QT4_IM_MODULE="ibus"
|
|
|
Back to top |
|
|
rodoke Tux's lil' helper
Joined: 01 Jan 2005 Posts: 87 Location: So. Ill.
|
Posted: Wed Feb 17, 2010 6:46 pm Post subject: |
|
|
I'll definitely be watching this topic. I can't get anything but Leafpad to work. Everything else says "No input window".
Still, it works a lot better than scim ever did. _________________
Bill Watterson wrote: | If we wanted more leisure, we'd invent machines that do things less efficiently. |
|
|
Back to top |
|
|
rodoke Tux's lil' helper
Joined: 01 Jan 2005 Posts: 87 Location: So. Ill.
|
Posted: Fri Feb 19, 2010 5:18 am Post subject: |
|
|
Hey friesia, four questions:
- What WM/DE are you using?
- Do you use start it throught startx or do you use {g,k,x}dm/qingy/slim/etc.?
- What happens when you use start xchat from an xterm with
Code: | GTK_IM_MODULE="ibus" xchat" | ?
What happens when you start an xterm and ask it directly for the value of ${GTK,QT}_IM_MODULE?
My answers are:
- KDE4.3
- gdm
- I don't use xchat, but when I did it with firefox, ibus worked perfectly.
Code: | rodoke@darilsheid ~ $ echo $XMODIFIERS $GTK_IM_MODULE $QT_IM_MODULE $QT4_IM_MODULE
@im=SCIM scim scim scim |
That last answer seems to be the problem (for me).
I set all the variables to ibus in /etc/env.d/ just like you. Hell, I unmerged all my scim stuff before I installed ibus just to stop this kind of problem. Somewhere along the line, though, something is setting them back to scim. _________________
Bill Watterson wrote: | If we wanted more leisure, we'd invent machines that do things less efficiently. |
|
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Fri Mar 04, 2011 8:39 pm Post subject: |
|
|
Has anyone made a progress on this? I use Fluxbox, and the icon on the lower right corner has "x" on it, and it says "No input window". I did add an Input Method.
__
sol |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Sun Mar 06, 2011 8:45 am Post subject: |
|
|
I was at least able to see the input choice of mine.
1) Open locale file and add a language. It would be "ko_KR" for my case.
Code: | /etc/locale.gen
en_US ISO-8859-1
en_US.UTF-8 UTF-8
ko_KR.UTF-8 UTF-8
|
2) Run "/usr/sbin/locale-gen" as root.
3) Make sure to export "LANG". Also I want to leave the menu text of IBus as English, so I added "en_US" when starting ibus-daemon.
Code: | ~/.xinitrc
export LANG=ko_KR.utf8
LANG=en_US.UTF-8 ibus-daemon -d -x
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
/usr/bin/startfluxbox |
It works, but I just can't map a key to switch between input methods. Also I had to unmask a couple of packages, so I ended up going back to SCIM. I might come back later when compatibility improves.
__
sol |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Mon Mar 07, 2011 5:56 am Post subject: |
|
|
After examining how other distros use IBus, I found out how to switch between input methods. For my case, I wanted to map the right-side ALT key as the shortcut key, so I clicked on "..." button and pressed/released the right-side ALT key.
But no matter what I tried, it always ended up as "Release+Alt_R" instead of "Alt+Release+Alt_R" for the key code. It turned out that I had to check "Alt" checkbox to make it as "Alt+Release+Alt_R".
Now IBus is running, so I guess it's time for me to give it a try and see how it works.
__
sol |
|
Back to top |
|
|
|