免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2569 | 回复: 9
打印 上一主题 下一主题

哪 位在redhat下成功安装过五笔? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-23 11:33 |只看该作者 |倒序浏览
哪  位在redhat下成功安装过五笔?我试过智能五笔和fcitx都没成功,哪  位高手能把安装方法贴出来?

论坛徽章:
0
2 [报告]
发表于 2004-11-23 11:41 |只看该作者

哪 位在redhat下成功安装过五笔?

很简单嘛。
到www.fcitx.org下载rpm包或源码包安装后重新启动就可以了。

论坛徽章:
0
3 [报告]
发表于 2004-11-23 11:44 |只看该作者

哪 位在redhat下成功安装过五笔?

我在debian下用zhcon,挺好用的,试试看。

论坛徽章:
0
4 [报告]
发表于 2004-11-23 22:29 |只看该作者

哪 位在redhat下成功安装过五笔?

用fcitx安装后重启,用ctrl+空格调用没出现五笔,运行fcitx窗口只一闪就加复原状了。

论坛徽章:
0
5 [报告]
发表于 2004-11-24 20:01 |只看该作者

哪 位在redhat下成功安装过五笔?

我用的是rh es3,装了fcitx,很好用,下载 fcitx-3.0.1-1mgc.i686.rpm
卸载掉原有输入法
安装 fcitx,修改xinput,就可以了,下面是修改的xinput。
---------------------------------------------------------------------

#!/bin/sh
# Copyright (C) 1999-2001 Red Hat, Inc.
#
# XIM( X Input Method ) script
#
# Korean part,etc contributed by
# Won-kyu Park <wkpark@chem.skku.ac.kr>;
#

oldterm=$TERM
unset TERM
# Load up the user and system locale settings
if [ -f /etc/profile.d/lang.sh ] ; then
. /etc/profile.d/lang.sh
fi
export TERM=$oldterm

tmplang="en_US"
#if test x$GDM_LANG != x ; then
# tmplang=$GDM_LANG
if test x$LC_ALL != x ; then
tmplang=$LC_ALL
elif test x$LC_CTYPE != x ; then
tmplang=$LC_CTYPE
elif test x$LANG != x ; then
tmplang=$LANG
elif [ -e /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
tmplang=$LANG
fi

#
# check to see if the user has a preferred desktop
#

PREFERRED=

# runlevel 5 - checks which session manager it will load
# runlevel 3 - checks which desktop manager it will load
if [ -f /etc/sysconfig/desktop ]; then
# FIXME: This grep regex can be combined when someone has copious spare time.
if grep -q "GNOME" /etc/sysconfig/desktop 2>;/dev/null || grep -q "\"\"" /etc/sysconfig/desktop 2>;/dev/null; then
# runlevel 5 with gdm - checks for $GDMSESSION and set the $PREFERRED
if [ x$GDMSESSION = xDefault ]; then
PREFERRED=gnome
elif [ x$GDMSESSION = xGNOME ]; then
PREFERRED=gnome
elif [ x$GDMSESSION = xKDE ]; then
PREFERRED=kde
else
# applies if no env and runlevel 3
PREFERRED=gnome
fi
elif grep -q "KDE" /etc/sysconfig/desktop 2>;/dev/null; then

if [ -z $1 ] || [ x$1 = xdefault ]; then
# applies if no arg passed by kdm and runlevel 3
PREFERRED=kde
else
# otherwise assign $PREFERRED from arg
PREFERRED=$1
fi
fi
fi

if [ -z $PREFERRED ]; then

GSESSION=gnome-session
STARTKDE=startkde

# by default, we run GNOME.
if which $GSESSION >; /dev/null 2>;&1; then
PREFERRED=gnome
fi

# if GNOME isn't installed, try KDE.
if which $STARTKDE >; /dev/null 2>;&1; then
PREFERRED=kde
fi
fi


#
# check $XIM and set a default $XIM value.
#
if [ -f ~/.ime ]; then
tmpime=$(<~/.ime)
if which $tmpime >;/dev/null 2>;&1 ; then
XIM=$tmpime
tmpime=True
fi

elif [ -z "$XIM" ]; then
case $tmplang in
ko*)
if which ami >;/dev/null 2>;&1 ; then
XIM="Ami"
elif which hanIM >;/dev/null 2>;&1 ; then
XIM="hanIM"
fi
;;
ja*)
if which xwnmo >;/dev/null 2>;&1 ; then
XIM="_XWNMO"
elif which kinput2 >;/dev/null 2>;&1 ; then
XIM="kinput2"
elif which skkinput >;/dev/null 2>;&1 ; then
XIM="skkinput"
fi
;;
zh_CN*)
if which scim >;/dev/null 2>;&1 ; then
XIM="scim"
elif which fcitx >;/dev/null 2>;&1 ; then
XIM="fcitx"
elif which chinput >;/dev/null 2>;&1 ; then
XIM="chinput"
fi
;;
zh_TW*)
if which xcin >;/dev/null 2>;&1 ; then
XIM="xcin"
fi
;;
*)
XIM="none"
;;
esac
fi

#
# set a proper XIM program with respect to $XIM
#

if [ -z "$XIM_PROGRAM" ]; then
case "$XIM" in
Ami)
case "$PREFERRED" in
gnome)
if which ami_applet >;/dev/null 2>;&1 ; then
DELAY_START=2
XIM_PROGRAM=ami_applet
XIM_ARGS=""
elif which ami >;/dev/null 2>;&1 ; then
XIM_PROGRAM=ami
fi
;;
kde)
if which wmami >;/dev/null 2>;&1 ; then
XIM_PROGRAM=wmami
XIM_ARGS="-wait"
elif which ami >;/dev/null 2>;&1 ; then
XIM_PROGRAM=ami
fi
;;
*)
if which ami >;/dev/null 2>;&1 ; then
XIM_PROGRAM=ami
fi
;;
esac
;;
hanIM)
if which hanIM >;/dev/null 2>;&1 ; then
XIM_PROGRAM=hanIM
fi
;;
chinput)
XIM=Chinput
XIM_PROGRAM=chinput ;;
skim)
XIM=SCIM
if [ $PREFERRED = kde ];then
XIM_PROGRAM=skim
else
XIM_PROGRAM=scim
fi
XIM_ARGS="-d"
;;
scim)
XIM=SCIM
XIM_PROGRAM=scim
XIM_ARGS="-d"
;;
fcitx)
XIM_PROGRAM=fcitx ;;
xcin)
XIM_PROGRAM=xcin
XIM_ARGS="-x xcin" ;;
_XWNMO)
XIM_PROGRAM=xwnmo
;;
kinput2)
XIM_PROGRAM=kinput2
if [ X"`ldd /usr/X11R6/bin/kinput2 | grep libcanna`" = X ] ; then
XIM_ARGS="-wnnenvrc /etc/FreeWnn/ja/wnnenvrc"
else
XIM_ARGS="-canna"
fi
;;
skkinput)
XIM_PROGRAM=skkinput
XIM_ARGS="" ;;
*)
XIM_PROGRAM=/bin/true ;;
esac
fi
if [ ! -f ~/.ime ] || [ $tmpime != True ] ; then
echo $XIM_PROGRAM >;~/.ime
unset tmpime
fi
[ -z "$XMODIFIERS" -a -n "$XIM" ] && export XMODIFIERS="@im=$XIM"

# execute XIM_PROGRAM


if test x$DELAY_START != x; then
#spawn to new process with external shell
bash -c "
while [ x\`ps -C panel -o pid=\` == x ]; do
sleep $DELAY_START
done
[ -z "\$XMODIFIERS" -a -n "$XIM" ] && export XMODIFIERS="@im=$XIM"
sleep $DELAY_START
which $XIM_PROGRAM >; /dev/null 2>;&1 && LANG=$tmplang && $XIM_PROGRAM $XIM_ARGS &
" &

else
which $XIM_PROGRAM >; /dev/null 2>;&1 && LANG=$tmplang && $XIM_PROGRAM $XIM_ARGS &
fi

---------------------------------------------------------------------

论坛徽章:
0
6 [报告]
发表于 2004-11-25 08:40 |只看该作者

哪 位在redhat下成功安装过五笔?

楼主应该没有删除原来系统自带的输入法吧,请:
rpm -e miniChinput
然后再装
rpm -ivh fcitx-*.rpm

论坛徽章:
0
7 [报告]
发表于 2004-11-25 08:46 |只看该作者

哪 位在redhat下成功安装过五笔?

我的是redhat 9,安装得陈桥五笔,里面readme.txt文件有说明的,挺好用的啊,
好像是重启才生效的。

论坛徽章:
0
8 [报告]
发表于 2004-11-25 08:55 |只看该作者

哪 位在redhat下成功安装过五笔?

下载:chznwb-1.0.tar.gz,
tar -zxvf chznwb-1.0.tar.gz
cd znwb
make
重启之后,智能陈桥就安装成功了。

论坛徽章:
0
9 [报告]
发表于 2004-11-25 09:06 |只看该作者

哪 位在redhat下成功安装过五笔?

我的是REDHAT9。0的,在http://www.fcitx.org/main/里下载了fcitx3.X
安装完fcitx3.X后,在~/.bashrc文件中添加以下几行:
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
fcitx&
重启X应该可以用了

论坛徽章:
0
10 [报告]
发表于 2006-04-09 15:21 |只看该作者
fcitx输入法已经装好了,也能使用起来了。。。

可问题是,在输入了五笔后,是显示了中文字出来,可一回车到电脑上却是一堆乱码数字。。。。在任何文本编辑器里都这样。

系统设置是中文的,文件菜单等都是中文显示的。是什么原因呢,怎么弄啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP