You are not logged in.

#1 2011-04-12 17:58:46

goodspring
Member
From: Chengdu
Registered: 2011-04-12
Posts: 3

[SOLVED]ibus problem after run ibus-setup as root

I installed ibus but it did not start when I login. I added these lines in $HOME/.bashrc but still not working:

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

So I tried to run ibus-setup again (as a user) a window pop up as usual ---"IBus daemon is not started.Do you want to start it now?",choose YES, and I got this error message in terminal:

(ibus-daemon:3191): IBUS-CRITICAL **: 01:33:13.483416: ibus_write_address: assertion `pf != NULL' failed

Can't make it work, reinstall ibus is still the same.

any ideas? needs help

Last edited by goodspring (2011-04-13 04:36:59)

Offline

#2 2011-04-12 18:17:14

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED]ibus problem after run ibus-setup as root

Did you add it to your xinitrc?

Edit: Actually, it shouldn't have to be in your xinitrc.

What you are probably having problems with is residual configuration files after your removed and reinstalled ibus.  Do a

pacman -Rns ibus

, and then remove these directories (if they are still there after the -Rns) to get rid of any left over config files:

/usr/share/ibus/
/usr/share/gtk-doc/html/ibus/
/usr/lib/python2.7/site-packages/ibus/
/usr/lib/ibus/
/usr/include/ibus-1.0/

After that, reinstall ibus and do the setup as the regular user and not root and you should be fine.

Last edited by the sad clown (2011-04-12 19:28:01)


I laugh, yet the joke is on me

Offline

#3 2011-04-13 03:04:01

goodspring
Member
From: Chengdu
Registered: 2011-04-12
Posts: 3

Re: [SOLVED]ibus problem after run ibus-setup as root

RE: the sad clown

Thanks for your help.

I removed ibus and ibus-pinyin:

sudo pacman -Rns ibus ibus-pinyin

Then checked all of those folders you listed to make sure they been deleted, after that I reinstalled ibus and ibus-pinyin, but trying to run "ibus-setup" as a user still got that error message:

(ibus-daemon:1736): IBUS-CRITICAL **: 10:05:05.850393: ibus_write_address: assertion `pf != NULL' failed

"sudo ibus-setup" gonna start ibus but can't switch input method

Last edited by goodspring (2011-04-13 03:06:41)

Offline

#4 2011-04-13 03:42:02

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED]ibus problem after run ibus-setup as root

Ah, I figured it out.  Delete this:

~/.config/ibus

Then run the setup again and it should recreate the file.
Thread detailing the exact same problem and its solution:
http://code.google.com/p/ibus/issues/detail?id=465

Last edited by the sad clown (2011-04-13 03:42:58)


I laugh, yet the joke is on me

Offline

#5 2011-04-13 04:35:09

goodspring
Member
From: Chengdu
Registered: 2011-04-12
Posts: 3

Re: [SOLVED]ibus problem after run ibus-setup as root

Finally, problem solved, I appreciate your time and effort. Now I can input something like this:

非常感谢 smile

Last edited by goodspring (2011-04-13 04:35:38)

Offline

#6 2011-04-13 04:59:53

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED]ibus problem after run ibus-setup as root

Congratulations.  I know how important ibus can be, although I look to type stuff like 안녕하세요.  Very important for my 여보.


I laugh, yet the joke is on me

Offline

Board footer

Powered by FluxBB