Update the question on how to set the locale in GDM.

This commit is contained in:
Joe Marcus Clarke 2009-05-31 20:06:08 +00:00
parent c4ce4b5a43
commit 04150949ba
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=34357

View file

@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.140 2008/10/17 15:36:28 marcus Exp $">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.141 2009/04/11 03:18:22 marcus Exp $">
<!ENTITY title "FreeBSD GNOME Project: GNOME &gnomever; FAQ">
<!ENTITY email "freebsd-gnome">
<!ENTITY % navinclude.gnome "INCLUDE">
@ -1105,14 +1105,13 @@ proc /proc procfs rw 0 0
<!-- A29 -->
<p>Up until GNOME 2.20, GDM would read the locale settings
from <tt>/etc/login.conf</tt> or <tt>~/.login.conf</tt>.
This was broken in 2.20, and since GDM 2.22 will use
a new locale scheme, it will not be fixed. However, all
hope is not lost. It is actually very easy to set the
locale for use with the GNOME Destop. GDM offers a
pull-down Language menu from which you can choose your
current locale. If you would rather not use this menu,
you can set the locale by adding the following to
<tt>~/.profile</tt>:</p>
This was broken in 2.20, and finally restored in GDM
2.26.1_3.</p>
<p>However, GDM also offers a pull-down Language menu from which
you can choose your current locale. If you would rather not
use this menu or <tt>/etc/login.conf</tt>, you can set the
locale by adding the following to <tt>~/.profile</tt>:</p>
<pre>
export LANG=&lt;locale&gt;
@ -1123,7 +1122,9 @@ export LC_ALL=&lt;locale&gt;
(e.g. en_US.UTF-8, es_ES.ISO8859-15, fr_FR.ISO8859-1, etc.).</p>
<p>To set the default locale for the GDM greeter, add the
same environment variables to <tt>/etc/profile</tt>.</p>
same environment variables to <tt>/etc/profile</tt> or
define <tt>gdm_lang</tt> to the desired locale
in <tt>/etc/rc.conf</tt>.</p>
</li>
</ol>