LinuxSir.cn,穿越时空的Linuxsir!

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

解决英文环境下的中文输入法使用问题!

[复制链接]
发表于 2003-11-10 00:57:45 | 显示全部楼层

SuSE problem solved

Just modify the profile under SuSEconfig folder as:
#
# /etc/SuSEconfig/profile
#
# Automatically generated by SuSEconfig on Sat Nov  8 00:27:40 PST 2003.
#
# PLEASE DO NOT EDIT THIS FILE!
#
# Change variables below /etc/sysconfig instead.
#
#
# start of i18n support
if test "$UID" = 0 ; then
    #
    # /etc/sysconfig/language: ROOT_USES_LANG = ctype:
    #
    # root uses only the LC_CTYPE. We unset all effective locale variables
    # but LC_CTYPE and set LANG to POSIX.
    # This is necessary for non iso-8859-1 roots to be able to type all
    # the characters in X Windows.
    #
    LANG="en_US"
    export LANG
    unset LC_ALL
    unset LC_MESSAGES
    LC_CTYPE="zh_CN"
    export LC_CTYPE
    unset LC_COLLATE
    unset LC_TIME
    unset LC_NUMERIC
    unset LC_MONETARY
else
    #
    # All other users get all the locale variables from /etc/sysconfig/language:
    #
    LANG="en_US"
    export LANG
    unset LC_ALL
    unset LC_MESSAGES
    LC_CTYPE="zh_CN"
    export LC_CTYPE
    unset LC_COLLATE
    unset LC_TIME
    unset LC_NUMERIC
    unset LC_MONETARY
fi
# end of i18n support
QTDIR=/usr/lib/qt3
export QTDIR
no_proxy='localhost'
export no_proxy
test -z "$WINDOWMANAGER" && WINDOWMANAGER=/usr/X11R6/bin/kde
export WINDOWMANAGER


Hehe, as easy as others.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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