You are not logged in.
Pages: 1
Topic closed
Solved! Finally! See the second post for information
Okay. I have installed Arch Linux and am using LXDE (pacman -S lxde) and am trying to get Chinese (Pinyin) input to work.
First, I tried installing IBus (pacman -S ibus) and set up Pinyin input. This works in every application I have tried (Leafpad, LXTerminal, LibreOffice, etc) but not in Google Chrome (compiled from AUR).
Next, I uninstalled IBus and installed UIM (pacman -S uim, no other packages) and set it to m17n-zh-pinyin. With this setup, nothing works. The uim-xim process has been started and I can open uim-toolbar-gtk, but all input in all applications acts as though UIM is not installed. Control-Spacebar also does not work to switch input modes, though it is set up to do so in the UIM preferences.
My .xinitrc (currently set up for IBus):
# Start IBUS
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx
# Start UIM
# export GTK_IM_MODULE='uim'
# export QT_IM_MODULE='uim'
# uim-xim &
# uim-toolbar-gtk &
# export XMODIFIERS='@im=uim'
# setxkbmap -option "compose:ralt"
# Start LXDE
exec startlxde
Sorry I couldn't be more specific, I've poked around in /var/log but I can't find anything relevant.
Last edited by RunasSudo (2014-01-14 09:26:58)
Offline
Solved!
I've fixed the problem, finally, by setting GTK_IM_MODULE to xim, and leaving XMODIFIERS as ibus. My .xinitrc now looks like this:
export GTK_IM_MODULE=xim #Fix for Chrome
export QT_IM_MODULE=xim #Not sure if this works or not, but whatever
export XMODIFIERS=@im=ibus
ibus-daemon -drx
exec startlxde
Now I can type Chinese in Chrome, properly!
Offline
That worked for me too with ibus-anthy for Japanese input. Did you ever find out why XIM was needed there?
Offline
this way uim is not necessary?
Offline
This doesn't add anything to the thread. ibus and uim are both alternatives to the same problem. Please don't bump 4 year old threads for these kind of questions.
If you have an actual issue, make a new thread detailing your issue.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Last edited by V1del (2018-03-14 14:11:23)
Offline
Pages: 1
Topic closed