怎么把root登录的session, Xwindow汉化?

系统字体配置、中文显示和输入法问题
回复
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

怎么把root登录的session, Xwindow汉化?

#1

帖子 iblicf » 2007-05-24 16:05

root 登录,gnome环境是 英文, locale 全是 “C”,如果要汉化,通常的做法是怎样的?
我自己至今对locale 一知半解 。。。wiki看过了还是糊涂 ,
ubuntu 究竟怎么操作locale , 就用这个典型例子,哪位肯教我,谢谢了
weiyh@MyPC:/etc/X11$ man -k locale
locale (1) - Get locale-specific information.
locale (5) - Describes a locale definition file
locale (7) - Description of multi-language support
locale-gen (8) - compile a list of locale definition files
locale.alias (5) - Locale name alias data base
Locale::gettext (3pm) - message handling functions
localedef (1) - compile locale definition files
lxterm (1) - locale-sensitive wrapper for xterm
stringprep_locale_charset (3) - return charset used in current locale
stringprep_locale_to_utf8 (3) - convert locale encoded string to UTF-8
stringprep_utf8_to_locale (3) - encode UTF-8 string to locale encoding
update-locale (8) - Modify global locale settings
validlocale (8) - Test if a given locale is available
XLocaleOfFontSet (3) - obtain fontset information
XLocaleOfIM (3) - open, close, and otain input method information
XLocaleOfOM (3) - open output methods
XrmLocaleOfDatabase (3) - retrieve and store resource databases
XSetLocaleModifiers (3) - determine locale support and configure locale modifiers
XSupportsLocale (3) - determine locale support and configure locale modifiers
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#2

帖子 BigSnake.NET » 2007-05-24 18:25

不要用root登录
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

#3

帖子 iblicf » 2007-05-24 19:27

BigSnake.NET 写了:不要用root登录
无语了,你水还是我水啊呀?正面回答一个好不,谢了
登录能选语言,就是想知道内部是怎么处理的
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#4

帖子 BigSnake.NET » 2007-05-24 19:48

设置locale那堆变量
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

#5

帖子 iblicf » 2007-05-24 23:59

不会是挨个 export 吧?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#6

帖子 BigSnake.NET » 2007-05-25 12:50

iblicf 写了:不会是挨个 export 吧?
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh:en_US:en"
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

#7

帖子 iblicf » 2007-05-28 10:34

看来这问题是不值得讨论的啊,算了
回复