LinuxSir.cn,穿越时空的Linuxsir!

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

openoffice 里面scim输入不能用了.(用ibus解决了)

[复制链接]
发表于 2009-3-8 15:12:58 | 显示全部楼层 |阅读模式
很久没用过openoffice 了,这两天有点文章要做,但发现openoffice里面scim不能调出来了. openoffice能显示中文也能拷贝进中文。其它程序都能象我现在正用scim输入发帖一样正常用scim。

重装openoffice-bin后有个QA提示:
* QA Notice: The following files contain executable stacks
*  Files with executable stacks will not work properly (or at all!)
*  on some architectures/operating systems.  A bug should be filed
*  at http://bugs.gentoo.org/ to make sure the file is fixed.
*  For more information, see http://hardened.gentoo.org/gnu-stack.xml
*  Please include the following list of files in your report:
* RWX --- --- usr/lib/openoffice/ure/lib/libstdc++.so.6
* RWX --- --- usr/lib/openoffice/ure/lib/libstlport_gcc.so
* RWX --- --- usr/lib/openoffice/ure/lib/libgcc_s.so.1


按照下面这篇做个链接也不行. 我用的是稳定分支的gcc-4.1.2. openoffice是3.0.0版本.

http://www.linuxsir.cn/bbs/thread336576.html

兄弟们帮帮忙. 谢谢了.
发表于 2009-3-8 15:39:39 | 显示全部楼层
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
ibus&

要不换ibus试试?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 16:59:31 | 显示全部楼层
It is from bad to worse. Now I don't have any Chinese input method.

Thinking it would be some conflicts, I uninstalled scim, scim-pinyin and scim-tables. And then I installed ibus and ibus-tables-wubi, but it doesn't work in any program. What should I do now?

The following is the settings.

# cat ~/.xinitrc
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
ibus &
exec openbox-session

# cat /etc/env.d/99locale
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 17:29:46 | 显示全部楼层
I simply cannot start the ibus program. I tried many times.

~ # ibus &
bash: ibus: command not found
[1] 25275
[1]+  Exit 127                ibus
~ # ibus-daemon -x &
[1] 25276
~ # current session already has an ibus-daemon.
[1]+  Exit 255                ibus-daemon -x
~ #
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 18:01:11 | 显示全部楼层
找出原因了,我用的是openbox, 在panel没有之前ibus是不能用的。把ibus的启动从.xinitrc 里面去掉,再把ibus启动加进~/.config/openbox/autostart.sh就可以了。现在在ibus在openoffice里面可以输入中文了. scim和openoffice-bin的gcc可能有冲突,俺不管了。

~ $ cat .config/openbox/autostart.sh
#!/bin/bash
killall rox > /dev/null 2>&1
rox -p default &

# xscreensaver
killall xscreensaver > /dev/null 2>&1
xscreensaver &

# set panel
killall fbpanel > /dev/null 2>&1
fbpanel &

export LANG="en_US.UTF-8"
export LC_CTPYE="zh_CN.UTF-8"
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
ibus-daemon -x &

现在好了, 谢谢zhllg老大。
回复 支持 反对

使用道具 举报

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

本版积分规则

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