LinuxSir.cn,穿越时空的Linuxsir!

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

装好gnome但不能进入中文环境

[复制链接]
发表于 2006-3-11 11:23:13 | 显示全部楼层 |阅读模式
我的是在GENTOO下emerge gnome版本是2.12.3,编译完成启动GDM后登录界面的LANGUAGE里找不到中文语言,只进入到gnome的英文界面,但浏览网页是可以显示中文的,是不是哪个设置文件出了问题?郁闷...
发表于 2006-3-11 21:27:21 | 显示全部楼层
emerge arphicfonts
回复 支持 反对

使用道具 举报

发表于 2006-3-11 22:07:08 | 显示全部楼层
arphicfonts不能提供有些gb2312字符,好像
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 01:40:46 | 显示全部楼层
mazarine ~ # locale
[color="Red"]locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
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=
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 01:55:19 | 显示全部楼层
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE
de_DE@euro
en_HK
en_PH
en_US
en_US.utf8
es_MX
fa_IR
fr_FR
fr_FR@euro
it_IT
ja_JP
ja_JP.eucjp
ja_JP.utf8
回复 支持 反对

使用道具 举报

发表于 2006-3-12 02:16:16 | 显示全部楼层
cat /etc/locales.build
# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US/ISO-8859-1
en_US.UTF-8/UTF-8
zh_CN/GB18030
zh_CN.GB2312/GB2312
zh_CN.UTF-8/UTF-8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 02:22:47 | 显示全部楼层
cat /etc/locales.build
# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US/ISO-8859-1
en_US.UTF-8/UTF-8
ja_JP.EUC-JP/EUC-JP
ja_JP.UTF-8/UTF-8
ja_JP/EUC-JP
en_HK/ISO-8859-1
en_PH/ISO-8859-1
de_DE/ISO-8859-1
de_DE@euro/ISO-8859-15
es_MX/ISO-8859-1
fa_IR/UTF-8
fr_FR/ISO-8859-1
fr_FR@euro/ISO-8859-15
it_IT/ISO-8859-1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 02:24:41 | 显示全部楼层
my "glibc" is 2.3.5-r2
回复 支持 反对

使用道具 举报

发表于 2006-3-12 02:26:59 | 显示全部楼层

en_US/ISO-8859-1
en_US.UTF-8/UTF-8
zh_CN/GB18030
zh_CN.GB2312/GB2312
zh_CN.UTF-8/UTF-8

放到/etc/locales.build里面

然后emerge -auDN world
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-17 00:15:11 | 显示全部楼层
emerge -auDN world 后进入X,无论在xorg.conf如何设置,鼠标滑轮再也不能用了

  1. Section "InputDevice"
  2.         Identifier  "Mouse1"
  3.         Driver      "mouse"
  4.         Option            "Protocol" "auto"
  5. #        Option            "Device" "/dev/psaux"
  6.         Option            "Device" "/dev/input/mouse0"
  7. #        Option            "ZAxisMapping"        "4 5"
  8. #        Option        "Emulate3Buttons" "True
  9. #        Option        "ChordMiddle"        "True"
  10. EndSection
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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