You are not logged in.
Pages: 1
Can anyone help me get ibus working in xterm? Ibus is working in all my other applications except xterm. In my pre-Arch days I had the same problem in Debian. In Debian I fixed the problem by editing /etc/X11/xinit/xinput.d/default so that it looked like this:
#
# This configuration provides default IM setting (user edittable)
# See im-switch(8) and /usr/share/doc/im-switch/README.Debian .
#
# Define IM for traditional X application with XIM
#
# XIM server name used for XMODIFIERS="@im=$XIM"
# XIM program /path/filename
# XIM program command line arguments
#
# These were traditional setting before uim and scim for CJK languages
# Language LC_CTYPE XIM server XMODIFIERS Start key
# Japanese ja_JP* kinput2 "@im=kinput2" Shift-Space
# Korean ko_KR* ami "@im=Ami" Shift-Space
# Chinese(T) zh_TW.Big5 xcin "@im=xcin-zh_TW.big5" Ctrl-Space
# Chinese(S) zh_CN.GB2312 xcin "@im=xcin-zh_CN.GB2312" Ctrl-Space
#
XIM=ibus
XIM_PROGRAM=/usr/bin/ibus-daemon
XIM_ARGS="--xim"
XIM_PROGRAM_XTRA=
# Set following variable to non-zero string if program set itself as deamon
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=
#
# Define GTK and QT IM module
# They may or may not be using xim as the IM.
#
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
#
# Define lists of packages neded for above IM to function
#
DEPENDS="ibus, ibus-gtk, ibus-qt4"
#
# Define X start up hook script to update IM environment
#However, Arch does not even have the /etc/X11/xinit/xinput.d directory, so I am a little lost. I think I have all the relevant packages installed (ibus, ibus-m17n, ibus-qt, libibus, xorg-xinput).
Last edited by bdantas (2014-05-17 00:34:06)
Offline
Some more information:
1- The problem is not the font. The font I'm using in xterm supports the special characters.
2- The problem is that xterm ignores ibus completely. When I type "cx" I get the expected "ĉ" in all applications (e.g., firefox, mate-terminal) but xterm just gives me "cx"
3- I already have this in ~/.bashrc:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus4- I'm on a laptop, fully updated 64-bit Arch Linux, LightDM, and MATE.
I've googled ad nauseam and this is driving me nuts. Please help.
Last edited by bdantas (2014-05-16 23:25:46)
Offline
I figured it out. I was starting the ibus daemon with ibus-daemon -d. Starting it with ibus-daemon -dx did the trick.
Offline
Pages: 1