LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: lanhui

请问有没有在AS4装了小企鹅输入法的,分享一下方法

[复制链接]
发表于 2005-2-23 15:24:11 | 显示全部楼层
先卸载系统自带的输入法
不删也行。。那就必需关了iiim的启动。。到终端下SETUP。然后会看到系统启动选项。好象是中文的吧。。。进去关了就是了。。

再安装FCITX 装rpm包吧。。来得更方便。。好象是3.0.2的。。反正就是那个最新的RPM包。
然后/etc/alternatives/xinput-zh_CN

XIM=fcitxh
XIM_PROGRAM=fcitx
GTK_IM_MODULE=fcitx
gnome-im-settings-daemon >/dev/null
重启x即可

按这个步子来做。。肯定一次成功。我在FC3和AS4都是一次成功的。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-23 16:00:52 | 显示全部楼层
太多方法了,都试了就是不行!
可能都把设置搞得很乱了,没办法初学linux就这样
谢谢大家的指点了, 我再自己弄弄看。不行重装系统从头来弄过
刚开始用AS4觉得很不错,一用就喜欢上了,
要学的东西还很多,希望以后大家多指教我们这些初学者,谢了!~
回复 支持 反对

使用道具 举报

发表于 2005-2-23 16:44:35 | 显示全部楼层
我晕了,看看我configure时的错误,请指点:
[root@redhatas4 fcitx-3.0.4]# ./configure -prefix=/tmp/fcitx
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... no
checking for pkg-config... /usr/bin/pkg-config
checking for xft >= 0.0.0... Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
configure: WARNING: No xft found, skipping configure for FreeType and Xft
checking for pid_t... yes
checking for size_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking return type of signal handlers... void
checking for memmove... no
checking for memset... no
checking for mkdir... no
checking for setlocale... no
checking for strcasecmp... no
checking for strstr... no
checking for strtol... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating debian/Makefile
config.status: creating xpm/Makefile
config.status: creating lib/Makefile
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-23 22:18:02 | 显示全部楼层
好了,我装上了好高兴,谢谢各位大哥了!~
结合了几位的方法,终于搞定,以下是我的步骤:
1.到终端下$ setup 进入。然后会看到系统启动选项。取消iiim的默认起动
2.重启计算机
3.tar jxvf fcitx-3.0.4.tar.bz2
4.cd fcitx-3.0.4
5../configure
6.make
7.make install
8.export XMODIFIERS="@im=localhost"    localhost我的计算机名
9.cd /usr/bin
10.ln -sf fcitx chinput         执行到这里时说找不到文件,我重启之后就可以执行

11.然后/etc/alternatives/xinput-zh_CN  (这里引用《田横》的话 ~)

XIM=fcitxh
XIM_PROGRAM=fcitx
GTK_IM_MODULE=fcitx
gnome-im-settings-daemon >/dev/null
重启x即可

就这样可以了,不错学了好多东西
回复 支持 反对

使用道具 举报

发表于 2005-2-25 01:54:52 | 显示全部楼层
有没有用上紫光的?
分享一下办法阿.
回复 支持 反对

使用道具 举报

发表于 2005-2-27 02:38:19 | 显示全部楼层
8.export XMODIFIERS="@im=localhost" localhost我的计算机名
9.cd /usr/bin
10.ln -sf fcitx chinput 执行到这里时说找不到文件,我重启之后就可以执行

这几句其实一点效果都没有
回复 支持 反对

使用道具 举报

发表于 2006-9-29 20:12:36 | 显示全部楼层
Post by lanhui
好了,我装上了好高兴,谢谢各位大哥了!~
结合了几位的方法,终于搞定,以下是我的步骤:
1.到终端下$ setup 进入。然后会看到系统启动选项。取消iiim的默认起动
2.重启计算机
3.tar jxvf fcitx-3.0.4.tar.bz2
4.cd fcitx-3.0.4
5../configure
6.make
7.make install
8.export XMODIFIERS="@im=localhost"    localhost我的计算机名
9.cd /usr/bin
10.ln -sf fcitx chinput         执行到这里时说找不到文件,我重启之后就可以执行

11.然后/etc/alternatives/xinput-zh_CN  (这里引用《田横》的话 ~)

XIM=fcitxh
XIM_PROGRAM=fcitx
GTK_IM_MODULE=fcitx
gnome-im-settings-daemon >/dev/null
重启x即可

就这样可以了,不错学了好多东西



我的启动项里面就没有iiim这一项,我用的是AS3
回复 支持 反对

使用道具 举报

发表于 2006-9-30 14:16:24 | 显示全部楼层
我设置的也能用,就是那个输入法的框子老在桌面上,不知道怎么在不用的时候把它去掉。
回复 支持 反对

使用道具 举报

发表于 2006-9-30 15:13:47 | 显示全部楼层
Post by gaop
我设置的也能用,就是那个输入法的框子老在桌面上,不知道怎么在不用的时候把它去掉。

这个与系统无关,你设置一下FCITX的配置就行了。

主窗口自动隐藏=1
输入条自动隐藏=

更多的设置请看FCITX自带的PDF文档。
回复 支持 反对

使用道具 举报

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

本版积分规则

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