From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-112081-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OSSpC-0003jF-3B
	for garchives@archives.gentoo.org; Sat, 26 Jun 2010 10:41:26 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A2A4CE0899;
	Sat, 26 Jun 2010 10:40:32 +0000 (UTC)
Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5C29CE0899
	for <gentoo-user@lists.gentoo.org>; Sat, 26 Jun 2010 10:40:32 +0000 (UTC)
Received: by wyg36 with SMTP id 36so154425wyg.40
        for <gentoo-user@lists.gentoo.org>; Sat, 26 Jun 2010 03:40:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:reply-to:to:subject:date
         :user-agent:references:in-reply-to:mime-version:content-type
         :content-transfer-encoding:message-id;
        bh=MPkJsVRRXFKZ5SJz+0+6GDM+bMa+UnMtiAW34EU1dnU=;
        b=hJ2DkT2NOcWNp/m5o/KV49UG7PxrrjG0rSt9r+ERBSvgIK7fhsLVL48xy+UXdspcGa
         maqN6q+ZJ9Ebn5afmkg7orgI5p8HSabjU1JQ7b7YWkzw/y7WXz6K9MSz/6r2yh9PA6dH
         7tDP2KMw2LMb/zRxO6UN6yPaBeYgnjTNWUKpk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        b=UTjD4NTwdoQFY6uVcSuaB5bDrCm0GQ/QDufu6QSWgXOgREVadF2o7DH143z8N9rXjZ
         Jb8fyVZIjZzz9tRHuZjPiEefZjsYWQ4XxQhZN1NlUf/B2GdNW95ZlalFqVlWc4UBWS3N
         rSGWpJ7L9WW/W4zdeuBzaU1IKyTmBTOZxA3os=
Received: by 10.216.158.85 with SMTP id p63mr1507924wek.67.1277548831610;
        Sat, 26 Jun 2010 03:40:31 -0700 (PDT)
Received: from  (230.3.169.217.in-addr.arpa [217.169.3.230])
        by mx.google.com with ESMTPS id n61sm3158062wed.6.2010.06.26.03.40.29
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 26 Jun 2010 03:40:30 -0700 (PDT)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Questions regarding the usage of multiple locales
Date: Sat, 26 Jun 2010 11:40:14 +0100
User-Agent: KMail/1.13.3 (Linux/2.6.33-gentoo-r2; KDE/4.4.4; x86_64; ; )
References: <1277169274.32558.6.camel@ianto-gentoo-amd.home> <AANLkTilGxseqoOcCB1frQbKgLqVg1H-m-umrQTecN3BB@mail.gmail.com> <1277223253.1816.3.camel@tonmawr>
In-Reply-To: <1277223253.1816.3.camel@tonmawr>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart32773027.A5bXof1AGD";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201006261140.23888.michaelkintzios@gmail.com>
X-Archives-Salt: 027f216a-e49b-4546-a378-55486db5738b
X-Archives-Hash: 26e363692f25230017783db07d984cf2

--nextPart32773027.A5bXof1AGD
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Tuesday 22 June 2010 17:14:13 Christopher Swift wrote:
> Ar Maw, 2010-06-22 am 14:38 +0100, ysgrifennodd Mick:
> > I'm also interested in this - although my question is probably simpler:
> >=20
> > I would like to use en_GB but I do not undestand why running 'locale'
> > as a plain user shows:
> >=20
> > $ locale
> > LANG=3Den_US.UTF-8
> > LC_CTYPE=3D"en_US.UTF-8"
> > LC_NUMERIC=3D"en_US.UTF-8"
> > LC_TIME=3D"en_US.UTF-8"
> > LC_COLLATE=3D"en_US.UTF-8"
> > LC_MONETARY=3D"en_US.UTF-8"
> > LC_MESSAGES=3D"en_US.UTF-8"
> > LC_PAPER=3D"en_US.UTF-8"
> > LC_NAME=3D"en_US.UTF-8"
> > LC_ADDRESS=3D"en_US.UTF-8"
> > LC_TELEPHONE=3D"en_US.UTF-8"
> > LC_MEASUREMENT=3D"en_US.UTF-8"
> > LC_IDENTIFICATION=3D"en_US.UTF-8"
> > LC_ALL=3Den_US.UTF-8
> >=20
> > why when running it as root:
> >=20
> > # locale
> > LANG=3D
> > LC_CTYPE=3D"POSIX"
> > LC_NUMERIC=3D"POSIX"
> > LC_TIME=3D"POSIX"
> > LC_COLLATE=3D"POSIX"
> > LC_MONETARY=3D"POSIX"
> > LC_MESSAGES=3D"POSIX"
> > LC_PAPER=3D"POSIX"
> > LC_NAME=3D"POSIX"
> > LC_ADDRESS=3D"POSIX"
> > LC_TELEPHONE=3D"POSIX"
> > LC_MEASUREMENT=3D"POSIX"
> > LC_IDENTIFICATION=3D"POSIX"
> > LC_ALL=3D
> >=20
> >=20
> > I do not have set a /etc/env.d/02locale yet, so where is my plain user
> > locale being read from?
>=20
> Your plain user locale is usually read from ~/.bashrc, this can be set
> to en_GB by having the following lines:
> export LANG=3D"en_GB.UTF-8"
> export LC_COLLATE=3D"C"

I have not exported any locale in my ~/.bashrc, so should a plain user loca=
le=20
reflect what's in /etc/env.d/02locale?

I added /etc/env.d/02locale as you show above, but my plain user still show=
s=20
all settings as "en_US.UTF-8" ... where is this US setting read from?

Thanks,

=2D-=20
Regards,
Mick

--nextPart32773027.A5bXof1AGD
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEABECAAYFAkwl2RcACgkQVTDTR3kpaLaRVACgjdA9V1iGgtPtnlGXVuXxkuxu
gyUAmwbzQUUf55EKDbft+EG4oUP55wbI
=aauP
-----END PGP SIGNATURE-----

--nextPart32773027.A5bXof1AGD--