LinuxSir.cn,穿越时空的Linuxsir!

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

help: amd64 and chinese input 已解决

[复制链接]
发表于 2005-2-28 04:07:42 | 显示全部楼层 |阅读模式
i succefully installed chinese kde, but i had some problem on chinese input.....
my locale is like that:
bash-2.05b$ locale

LANG=zh_CN
LC_CTYPE="zh_CN"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_COLLATE="zh_CN"
LC_MONETARY="zh_CN"
LC_MESSAGES="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=zh_CN

i tried to emerge scim at first:
ACCEPT_KEYWORDS="x86" emerge scim
and my .bashrc is:
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28
15:45:35 azarah Exp $

# This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"

# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}{PWD/$
HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}{PWD/$HO
ME/~}\033\\"'
                ;;
esac

##uncomment the following to activate bash-completion:
#[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
#LOCALE setup
export LC_ALL=zh_CN
export LANG=zh_CN

#FCITX
export XMODIFIERS="@im=scim"
#export XMODIFIERS=@im=fcitx
#export XIM=fcitx
#export XIM_PROGRAM=fcitx
and it doesn't work........

and than i tried to fcitx
ACCEPT_KEYWORDS="x86" emerge fcitx

and I changed .bashrc:

#LOCALE setup
export LC_ALL=zh_CN
export LANG=zh_CN

#FCITX
#export XMODIFIERS="@im=scim"
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx
but it doesn't work too


i don't know where is wrong........
anyone can tell me how to install a chinese input into a amd 64?

thx

my make.conf is almost like that:
CFLAGS="-pipe -O2"
CHOST="x86_64-pc-linux-gnu"
 楼主| 发表于 2005-2-28 09:56:58 | 显示全部楼层
不知怎么的,已经解决了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-27 14:50:42 | 显示全部楼层
emerge -uU world
then meet again this problem, anyone can help me?
回复 支持 反对

使用道具 举报

发表于 2005-7-27 22:25:33 | 显示全部楼层
最后要执行fcitx,或者scim。
如果你用kde的话,安装skim就可以了。设定一下export LC_CTYPE="zh_CN",和export XMODIFIERS="@im=SCIM"就可以来。具体的看skim的ebuild最后的说明。
回复 支持 反对

使用道具 举报

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

本版积分规则

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