You are not logged in.

#1 2013-12-01 07:19:34

RunasSudo
Member
Registered: 2013-12-01
Posts: 3

SOLV IBus and UIM do not work with Chrome and everything, respectively

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

#2 2014-01-14 09:28:30

RunasSudo
Member
Registered: 2013-12-01
Posts: 3

Re: SOLV IBus and UIM do not work with Chrome and everything, respectively

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

#3 2014-11-18 21:37:21

frix
Member
Registered: 2011-05-02
Posts: 27

Re: SOLV IBus and UIM do not work with Chrome and everything, respectively

That worked for me too with ibus-anthy for Japanese input. Did you ever find out why XIM was needed there?

Offline

#4 2018-03-14 13:32:28

rodfersou
Member
Registered: 2018-03-14
Posts: 1

Re: SOLV IBus and UIM do not work with Chrome and everything, respectively

this way uim is not necessary?

Offline

#5 2018-03-14 14:09:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,731

Re: SOLV IBus and UIM do not work with Chrome and everything, respectively

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

Board footer

Powered by FluxBB