|
|
原来用xorg-x11-6.8的时候好好的,升级到xorg-x11-7.0后汉字就乱码了。重新编译了glibc,重新做过了emerge -e system还是一样。
~ # ls /usr/lib/locale/
en_US.utf8 zh_CN.utf8
~ # 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.UTF-8/UTF-8
zh_CN.UTF-8/UTF-8
~ # cat /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
EndSection
Section "Monitor"
Identifier "Builtin Default Monitor"
HorizSync 30.0 - 97.0
VertRefresh 50.0 - 160.0
Option "DPMS"
Option "TargetRefresh" "85.0"
EndSection
Section "Device"
Identifier "Builtin Default nv Device 0"
Driver "nvidia"
#Driver "nv"
#Option "RenderAccel" "True"
EndSection
Section "Screen"
Identifier "Builtin Default nv Screen 0"
Device "Builtin Default nv Device 0"
Monitor "Builtin Default Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024"
# Option "TargetRefresh" "85.0"
Depth 24
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default nv Screen 0"
EndSection |
|