LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 882|回复: 9

为什么出现了ibus的图标,却无法调出ibus输入法。

[复制链接]
发表于 2011-9-19 11:25:10 | 显示全部楼层 |阅读模式
emerge -pv ibus ibus-table   ibus-pinyin

app-i18n/ibus-1.3.9  USE="X gconf gtk nls python -doc -introspection -vala" 0 kB
app-i18n/ibus-table-1.2.0.20100111  USE="nls" 0 kB
app-i18n/ibus-pinyin-1.3.11  USE="nls" 0 kB

创建 /etc/X11/xinit/xinitrc.d/100-xinputrc



#========================

export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="xim"
ibus-daemon -d -x

在用户目录下的.xinitrc中加入同样内容,注释了scim行,但是系统没有删除scim
,出现了ibus图标,但就是无法调出输入法。
发表于 2011-9-19 16:39:58 | 显示全部楼层
ibus-setup 中input method设置了没
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-20 07:36:37 | 显示全部楼层
运行ibus-setup 就提示一个段错误什么都没了
回复 支持 反对

使用道具 举报

发表于 2011-9-20 18:48:04 | 显示全部楼层
重新emerge ibus
一般就是编译不过去了,提示缺少xxx.so,你修复一下就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-20 21:50:07 | 显示全部楼层
没有提示缺少什么.so啊
>>> Installing (1 of 1) app-i18n/ibus-1.3.99.20110817
* Installing GNOME 2 GConf schemas
* Reloading GConf schemas ...                                                                                                                                                                                                                                          [ ok ]
* Compilation and optimization of Python modules placed outside of site-packages directories for CPython 2.7 ...                                                                                                                                                       [ ok ]
* Updating icons cache ...                                                                                                                                                                                                                                             [ ok ]
* To use ibus, you should:
* 1. Get input engines from sunrise overlay.
*    Run "emerge -s ibus-" in your favorite terminal
*    for a list of packages we already have.
*
* 2. Setup ibus:
*
*    $ ibus-setup
*
* 3. Set the following in your user startup scripts
*    such as .xinitrc, .xsession or .xprofile:
*
*    export XMODIFIERS="@im=ibus"
*    export GTK_IM_MODULE="ibus"
*    export QT_IM_MODULE="xim"
*    ibus-daemon -d -x

>>> Recording app-i18n/ibus in "world" favorites file...

* Messages for package app-i18n/ibus-1.3.99.20110817:

* To use ibus, you should:
* 1. Get input engines from sunrise overlay.
*    Run "emerge -s ibus-" in your favorite terminal
*    for a list of packages we already have.
*
* 2. Setup ibus:
*
*    $ ibus-setup
*
* 3. Set the following in your user startup scripts
*    such as .xinitrc, .xsession or .xprofile:
*
*    export XMODIFIERS="@im=ibus"
*    export GTK_IM_MODULE="ibus"
*    export QT_IM_MODULE="xim"
*    ibus-daemon -d -x
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

* IMPORTANT: 3 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
回复 支持 反对

使用道具 举报

发表于 2011-9-22 12:23:49 | 显示全部楼层
gnome3 还是 gnome2???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-22 14:33:40 | 显示全部楼层
gnome2,我在use中设置了-gtk3了
回复 支持 反对

使用道具 举报

发表于 2011-9-23 12:11:16 | 显示全部楼层
/etc/env.d/02locale里写上两行
LANG="en_US.UTF-8"
LC_COLLATE="zh_CN.UTF-8"

本地化嘛 小企鹅也是这样处理即可
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-23 14:35:37 | 显示全部楼层
我现在的文件名都是gb18030编码啊,那不全成乱码了吗
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-25 17:14:59 | 显示全部楼层
写上UTF-8,无法调出ibus输入法。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表