ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法(1016修订)

系统字体配置、中文显示和输入法问题
头像
npnufn
帖子: 1847
注册时间: 2005-10-14 15:56

#16

帖子 npnufn » 2008-09-08 10:19

楼上两位可以看看第六点补充,ibus可以启动,也有输入法工具条,就是不能激活输入法,按如下设置可以调出拼音输入法。
如果出现能启动ibus 但不能激活输入法或者输入法没有光标跟随到情况,可以如下设置:
sudo cp /usr/lib/gtk-2.0/immodules/* /usr/lib/gtk-2.0/2.10.0/immodules/
编辑/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
sudo vi /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
在文件到最后添加两行:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so"
"ibus" "X Input Method" "gtk20" "/usr/share/locale" "zh"
重新登录即可。
我在scim启动的情况下只能运行ibus,但是无法激活拼音输入法。kill掉也不行
lin001
帖子: 11
注册时间: 2008-04-29 18:13

#17

帖子 lin001 » 2008-09-09 1:37

Sorry for my using English because i am using the ibus and i cannot input Chinese....-.-!
I installed ibus,but i cannot start the engine pinyin.
This is what i got when i input the command ibus-engine-pinyin
$ ibus-engine-pinyin
desc table has been created.
org.freedesktop.DBus.Python.ibus.exception.IBusException: Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/ibus/daemon/bus.py", line 598, in RegisterFactories
self.__ibus.register_factories(object_paths, self.__conn)
File "/usr/share/ibus/daemon/bus.py", line 363, in register_factories
self.__factory_manager.register_factories(object_paths, conn)
File "/usr/share/ibus/daemon/factorymanager.py", line 57, in register_factories
"Factory [%s] has been registered!" % object_path)
IBusException: Factory [/com/redhat/IBus/engines/PinYin/Factory] has been registered!


i thought whether this is the root course of my problem.
Thx for answer my question and i wanner know how to solve this problem...Thx again
头像
npnufn
帖子: 1847
注册时间: 2005-10-14 15:56

#18

帖子 npnufn » 2008-09-09 21:02

安装dbus-python了么
dpkg -l dbus-pythn 看看你的版本
需要dbus-python 0.83可以下载我编译好的,也可以自己编译
lin001
帖子: 11
注册时间: 2008-04-29 18:13

#19

帖子 lin001 » 2008-09-09 22:02

问题解决了。和scim有冲突。。把scim卸载干净了就好了。。。可是怎么感觉输入法的反应速度有点慢阿。有时候输入都半天了才出现那个输入条。。。
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

#20

帖子 想入非非 » 2008-09-09 23:18

原来是和scim有冲突难道我的也是这个原因
Ubuntu User
pengfeiluck
帖子: 3
注册时间: 2008-09-10 21:36

Can anybody help me?

#21

帖子 pengfeiluck » 2008-09-10 21:38

when I run gedit , the shell window shows following message.
(gedit:20063): Gtk-WARNING **: Error parsing context info in '/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules'
"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.la"

I had re compiled the ibus ,but did't work

PS : ubuntu64

:?:
condywl
帖子: 22
注册时间: 2007-08-15 11:56

#22

帖子 condywl » 2008-09-12 1:50

正在使用中。。。很舒服
感觉比SCIM好用阿
头像
npnufn
帖子: 1847
注册时间: 2005-10-14 15:56

Re: Can anybody help me?

#23

帖子 npnufn » 2008-09-12 12:01

pengfeiluck 写了:when I run gedit , the shell window shows following message.
(gedit:20063): Gtk-WARNING **: Error parsing context info in '/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules'
"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.la"

I had re compiled the ibus ,but did't work

PS : ubuntu64

:?:
参考第六点补充试试看吧。置顶已经有中文源了。也可以直接安装,不用自己编译了
vkong
帖子: 47
注册时间: 2007-02-05 22:08

#24

帖子 vkong » 2008-09-19 14:00

搞了一整天,从头编译安装才可以解决光标跟随这个问题,
sudo apt-get install 固然方便,但是比不上编译安装好,编译安装能完美!
lin001
帖子: 11
注册时间: 2008-04-29 18:13

#25

帖子 lin001 » 2008-09-19 18:23

发现使用中2个问题了。。第一,在virtual box里面所有键盘按键没有反应。第 2,在wine里面输入一个字母以后就会怎么按都没有反应。。。第三,希望能增加自然码。。。
pengfeiluck
帖子: 3
注册时间: 2008-09-10 21:36

Re: Can anybody help me?

#26

帖子 pengfeiluck » 2008-10-03 17:20

npnufn 写了:
pengfeiluck 写了:when I run gedit , the shell window shows following message.
(gedit:20063): Gtk-WARNING **: Error parsing context info in '/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules'
"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.la"

I had re compiled the ibus ,but did't work

PS : ubuntu64

:?:
参考第六点补充试试看吧。置顶已经有中文源了。也可以直接安装,不用自己编译了
Thanks , remove everything of scim,it's ok
jemy.zhang
帖子: 37
注册时间: 2007-02-19 16:07

Re: ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法(0905修订)

#27

帖子 jemy.zhang » 2008-10-11 19:19

今天从源程序编译安装了
装好了以后在.bashrc中添加了

代码: 全选

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

然后Ctrl+Alt+Backspace注销重启X,发现ibus的图标启动了,但是gedit里面启动不了ibus,而且重启系统也不行
偶然发现,如果从终端运行gedit,却可以成功调用ibus。。。
于是思考,尝试,终于,发现只要在.profile中添加如上export,注销重新登录就可以使用ibus了。。。感觉很好 :em05
顺便问一下,我想安装anthy,结果configure的时候出现ANTHY package not found
apt-get install anthy后还是这个问题,不知道如何解决,请知道的人告诉我一下,谢谢 :em01

代码: 全选

apt-get install libanthy-dev
就可以了
可能还需要

代码: 全选

apt-get install swig
minibox
帖子: 12
注册时间: 2007-10-20 9:09

Re: ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法(0905修订)

#28

帖子 minibox » 2008-10-13 21:10

不错,很好用 :em11
头像
内存不足
论坛版主
帖子: 3277
注册时间: 2005-08-18 18:43
联系:

Re: ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法(0905修订)

#29

帖子 内存不足 » 2008-10-13 21:45

不错 不错 刚编译了一下,比源里安装的反应快了一点点。
໌→ iCookie Gtk Theme
໌→DropPlusBluetheme
กรัก กรัก`菠萝
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

Re: ibus for 8.04 deb包 20080901版dbus-python 0.83以及编译方法(0905修订)

#30

帖子 Element » 2008-10-14 8:59

@内存
你有没有用opera?

各位,在opera里表现如何呢,我的scim有时候会没响应,所以想尝试一下ibus
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
回复