用en_US是无所谓,可如果喜欢看中文,还是不爽的。Console下又不装zhcon这种东西,只好是系统C,启动X时设定zh_CN,我原来是放在xinitrc里的,后来改用gdm,就放到.xsession里,后来gdm这家伙不学好,在缺省情况下不读这个文件了(先Defaultsession会读),干脆放到Xsession.d下面去了,输入法也在这里。gdm自己也要设置语言,这个还没搞清楚它放在哪里。最郁闷的是Gterm只看CTYPE;gVim有时似乎会从上一次的Locale中回不过神来。
On 5/22/06, phyrster <[EMAIL PROTECTED]> wrote:
On 1
On 11:51 Mon 22 May 2006, [EMAIL PROTECTED] wrote:
> 那请问在什么地方设置语言相关的内容才比较好,谢谢!
只要用 dpkg-reconfigure locales 就可以了。它会修改 /etc/environment.
或者用localeconf也可以。
下面是我的:
LANGUAGE="en_US.UTF-8"
### BEGIN DEBCONF SECTION FOR localeconf
# Do not edit within this region if you want your changes to be prese
On 5/22/06, Xiao Lei Wu <[EMAIL PROTECTED]> wrote:
在任何的bashrc/profile文件里面设置语言相关的内容都是不好的习惯应该设在哪里?initrc/sesseion?-- [EMAIL PROTECTED]
http://blog.cathayan.org
那请问在什么地方设置语言相关的内容才比较好,谢谢!
-Shark
From: Xiao Lei Wu [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 11:16 AM
To: Luo Yong
Cc: debian-chinese-gb@lists.debian.org
Subject: Spam:Re: 转Utf8引来一堆乱码
在任何的bashrc/profile文件里面设置语言相关的内容都是不好的习惯
Best Regards,
Zachary W
diff new-bashrc old-bashrc
不就明白了
Best Regards,
Zachary Wu (吴�~磊)
Software Engineer, Enterprise Content Management FVT, IBM China Software Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: [EMAIL PROTECTED]
Notes ID: Xiao Lei Wu/China/[EMA
On 5/21/06, Luo Yong <[EMAIL PROTECTED]> wrote:
我怀疑作者设置了~/.bashrc后忘记了,改换编码的时候只改了locale而没改动bashrc不要怀疑了,我的bashrc里简单得不行,只有Alias和Java的Classpath,没有编码的东西。换了新的bashrc,里面有什么说窗口尺寸变化时再计算什么的,还有彩色的PS1的,没发现其他和term太相关的。虽然不明白,但总算是解决了。
现在还有个问题是如果我再切换回到GBK,Vim的菜单会乱码,其他程序都认得了GBK,好像就GVim不认,还在坚守utf8。-- [EMAIL PROTECTED
在任何的bashrc/profile文件里面设置语言相关的内容都是不好的习惯
Best Regards,
Zachary Wu (吴�~磊)
Software Engineer, Enterprise Content Management FVT, IBM China Software Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: [EMAIL PROTECTED]
Notes ID: Xiao Lei Wu/China
你用的是sid吗:)
- Original Message -
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "debian-gb"
Sent: Sunday, May 21, 2006 10:07 PM
Subject: 关于/etc/environment文件
> 前几天听说已经取消这个文件了
> 但我这里/etc/environment依然有效,其中设置的LANGUAGE依然影响gnome的语言设置
> 为什么呢?
>
> 最新的testing版本
>
前几天听说已经取消这个文件了
但我这里/etc/environment依然有效,其中设置的LANGUAGE依然影响gnome的语言设置
为什么呢?
最新的testing版本
我怀疑作者设置了~/.bashrc后忘记了,改换编码的时候只改了locale而没改动bashrc
On 5/21/06, phyrster <[EMAIL PROTECTED]> wrote:
On 20:25 Sun 21 May 2006, Luo Yong wrote:
> /bin/bash这个程序默认去读~/.bashrc
>
> ~/.bashrc里设成了什么编码就用什么编码.
作者自己都说把编码转成了utf-8的。何必要在.bashrc里设置?
dpkg-reconfigure locales 不就解决了吗?
--
regards
phyrster
Truth
On 20:25 Sun 21 May 2006, Luo Yong wrote:
> /bin/bash这个程序默认去读~/.bashrc
>
> ~/.bashrc里设成了什么编码就用什么编码.
作者自己都说把编码转成了utf-8的。何必要在.bashrc里设置?
dpkg-reconfigure locales 不就解决了吗?
--
regards
phyrster
Truth has no special time of its own. Its hour is now -- always.
-- Albert Schweitzer
/bin/bash这个程序默认去读~/.bashrc
~/.bashrc里设成了什么编码就用什么编码.
On 5/21/06, phyrster <[EMAIL PROTECTED]> wrote:
On 15:28 Sun 21 May 2006, cathayan wrote:
> reset 是管用的。只是不爽。刚才回来又试了一个操作,整了个系统缺省的bashrc过来,
bashrc也能控制乱码?
> 再启动term就再也没出现过乱码,里面也看不到什么设置term的地方。
我想还是你的term的原因。
--
regards
phyrster
A sad spectacle.
On 15:28 Sun 21 May 2006, cathayan wrote:
> reset 是管用的。只是不爽。刚才回来又试了一个操作,整了个系统缺省的bashrc过来,
bashrc也能控制乱码?
> 再启动term就再也没出现过乱码,里面也看不到什么设置term的地方。
我想还是你的term的原因。
--
regards
phyrster
A sad spectacle. If they be inhabited, what a scope for misery and folly.
If they be not inhabited, what a waste of sp
多谢诸位。reset 是管用的。只是不爽。刚才回来又试了一个操作,整了个系统缺省的bashrc过来,再启动term就再也没出现过乱码,里面也看不到什么设置term的地方。总算是好了。
A build of the Debian Installer Manual was triggered by an update to SVN.
!!! There were errors during the build process.
!!! Please check the log and correct the errors.
Only architectures (if any) that were built correctly have been uploaded.
A log of the build is available at:
- http://people
15 matches
Mail list logo