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 ) id 1OSSxM-0005Ga-BU for garchives@archives.gentoo.org; Sat, 26 Jun 2010 10:49:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92733E085D; Sat, 26 Jun 2010 10:49:21 +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 55D44E085D for ; Sat, 26 Jun 2010 10:49:21 +0000 (UTC) Received: by wyg36 with SMTP id 36so158163wyg.40 for ; Sat, 26 Jun 2010 03:49:20 -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=hs3QF6/c16vM6kwxJLAFvzl60t+Ni28G/ez5c/w5jS4=; b=jh5i41+K2VsxlERe9ObgSKBL9WU19tHOd4XhYp/rMWO7IMamNCTJzUrnoowab73P+L /6G5TbTAIAAutlBzUdstBI5o47tE9HgCtzmJ+100o3WQfFsmZdCDlIsz63m4iCj4rSDF 4CNC1T+HqjBffTduEssgT7Xv40gqdh0AY/cvY= 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=MOmJIjxuQzjtYqxGtObomJ+nen3dwkngrEp0yc+YYScZDY48B9RSIYcHnnmCi7kDPK sUlqz7iP1amxXWrkDThwzucsIpRcHMt6YpLsFTh2MuOguB5qRfja7UwXjPJNuQwz2bUI cCn+t4+MphPVGWNgcmMveVmmTOIKqFNSut/pw= Received: by 10.227.136.10 with SMTP id p10mr1643832wbt.7.1277549360787; Sat, 26 Jun 2010 03:49:20 -0700 (PDT) Received: from (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id u81sm1421656wei.4.2010.06.26.03.49.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Jun 2010 03:49:20 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Questions regarding the usage of multiple locales Date: Sat, 26 Jun 2010 11:49:19 +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> <1277223253.1816.3.camel@tonmawr> <201006261140.23888.michaelkintzios@gmail.com> In-Reply-To: <201006261140.23888.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1441201.o89xemqenH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201006261149.20507.michaelkintzios@gmail.com> X-Archives-Salt: e500c006-5347-40f4-a2d3-9c154f8a622c X-Archives-Hash: ab8dc34751dd529d9f68674eff19b1a1 --nextPart1441201.o89xemqenH Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Saturday 26 June 2010 11:40:14 Mick wrote: > 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 simple= r: > > >=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" >=20 > I have not exported any locale in my ~/.bashrc, so should a plain user > locale reflect what's in /etc/env.d/02locale? >=20 > I added /etc/env.d/02locale as you show above, but my plain user still > shows all settings as "en_US.UTF-8" ... where is this US setting read > from? Oops! This is more complicated that I thought ... If, always as a plain user, I use aterm then /etc/env.d/02locale is read an= d=20 LANG is en_GB.UTF-8. However, if I use xterm it is still LANG=3Den_US.UTF-8 =2D-=20 Regards, Mick --nextPart1441201.o89xemqenH 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) iEYEABECAAYFAkwl2zAACgkQVTDTR3kpaLYkTACg/C7T/DGmzUfoGK9Bkk/3CDLz ljIAnjRH7pPOPBTFL+foGjI08CA0Hmvc =bhGW -----END PGP SIGNATURE----- --nextPart1441201.o89xemqenH--