suse10.2安装fcitx3.4.2问题
64位opensuse10.2,编译安装fcitx3.4.2,在家目录下新建.bashrc文件,内容为:export XMODIFIERS="@im=fcitx"
fcitx &
~
fcitx可正常使用,可是每次打开终端都显示:
XxmLinux:~ # Start FCITX error. Another XIM daemon named fcitx is running?
+Exit 4 fcitx
XxmLinux:~ #
虽然不影响什么,可是心里不服务,望大家帮助,解决此问题!!多谢!! 你可以不那样做,而这样做:
1. 安装 Fcitx
2. 把/etc/X11/xim.d/scim文件里面的scim全部替换成fcitx
就ok了,我的一切正常。 没有那个文件,只有一none文件,内容如下:
echo "Dummy input method \"none\" (do not use any input method at all by default)"
export XMODIFIERS=@im=local # use "Compose"
export GTK_IM_MODULE=xim
export QT_IM_SWITCHER=imsw-none # disable input method switching in Qt
export QT_IM_MODULE=xim
return 0 没有那个文件,只有一none文件,内容如下:
echo "Dummy input method \"none\" (do not use any input method at all by default)"
export XMODIFIERS=@im=local # use "Compose"
export GTK_IM_MODULE=xim
export QT_IM_SWITCHER=imsw-none # disable input method switching in Qt
export QT_IM_MODULE=xim
return 0
不会吧~~~~~~~~~我也是10.2啊。
要不你这样,先安装scim,然后建立那个文件。
内容如下
OLD_PATH=$PATH
PATH=/usr/bin:/opt/kde3/bin:$PATH
if ! type -p fcitx > /dev/null 2>&1 ; then
echo "fcitx is not available."
return 1
fi
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=fcitx
case "$WINDOWMANAGER" in
*kde)
if ! type -p skim > /dev/null 2>&1 \
|| grep -i -q "^[[:space:]]*Autostart.*=.*false" $HOME/.kde/share/config/skimrc
then
fcitx -d
else
# skim will beused. But we don't start it here,
# we rely on the KDE autostart
# mechanism used in the skim package instead.
# skim -d
:
fi
;;
*)
fcitx -d
;;
esac
PATH=$OLD_PATH
# success:
return 0
非得安装scim吗??有没有别的方法???
把fcitx &去掉后就不提示错误了!可是每次都得输入fcitx命令 看来只有靠自己了 下载了这个3.5的rpm安装包,就解决了!!
http://software.opensuse.org/downloa...-23.1.i586.rpm
页:
[1]