nick198119 写了:从~/.xsession-errors来看,系统在启动fcitx而不是ibus啊。并且由于你没有安装fcitx,所以启动失败。
不知道你用的是什么系统,在我的kubuntu10.10中是没有/etc/X11/Xsession.d/95xinput这个文件的。
你检查一下/etc/X11/xinit/xinput.d/zh-CN,这应该是链接文件,检查一下内容,是否是ibus配置内容,如果不是,说明系统默认输入法被更改了,在KDE系统设置/语系部分重新设置为ibus即可。
My OS environment: Kubuntu 10.10
At first , my ibus input method can not work, er, here the "work" i mean is that it did not show the panel on the system tray,and there was not the panel when i type the Chinese , difficult to select the word.
Later on I saw your tips ,and follow your method .It worked!!
But unluckily,after I installed the LAMP , it occured on me again.
this is my file on IM /etc/X11/xinit/xinput.d/zh-CN
代码: 全选
XIM=ibus
XIM_PROGRAM=/usr/bin/ibus-daemon
XIM_ARGS=" --panel=/usr/lib/ibus/ibus-ui-kde"
if [ -e /usr/lib/gtk-2.0/*/immodules/im-ibus.so ]; then
GTK_IM_MODULE=ibus
else
GTK_IM_MODULE=xim
fi
if [ -e /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so ]; then
QT_IM_MODULE=ibus
else
QT_IM_MODULE=xim
fi
DEPENDS="ibus, ibus-gtk, ibus-qt4, plasma-widget-kimpanel-backend-ibus"
# vim:ft=sh:
and this is /etc/X11/Xsession.d/95xinput
代码: 全选
export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE=fcitx ; fcitx
I have installed fcitx before and it met the same question,so i removed it , it may be a file left on my pc.