From owner-freebsd-ports Fri Dec 14 14:46:36 2001 Delivered-To: freebsd-ports@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 34B7D37B419 for ; Fri, 14 Dec 2001 14:46:29 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id fBEMkgs86536; Fri, 14 Dec 2001 17:46:42 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Fri, 14 Dec 2001 17:46:42 -0500 (EST) From: Joe Clarke To: Michael Harnois Cc: Richard Kuhns , Subject: Re: gdm and environment variables In-Reply-To: <1008369740.883.0.camel@mharnois.workgroup.net> Message-ID: <20011214174534.M82637-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Doh! I am going to have to write a PR. Edit /usr/X11R6/etc/gdm/locale.alias, and change english.us to: en_US.ISO_8859-1 Note the change of a '-' to a '_'. Then, restart gdm, and select American English as your Language. You should be set. I'll write up the PR. Joe On 14 Dec 2001, Michael Harnois wrote: > Well, Joe's solution doesn't make any difference here, and "C" doesn't > appear as an option in gdmconfig, so I'l still stumped. > > On Fri, 2001-12-14 at 11:00, Richard Kuhns wrote: > > On Fri, 14 Dec 2001 11:02:26 -0500 (EST) > > Joe Clarke wrote: > > > > > This is an easy fix, and I should have submitted a PR, but you can get > > > away without doing any patching. > > > > > > One option involves editing /usr/X11R6/etc/gdm/locale.alias, and change > > > the "english" locale to either en_US.ISO_8859-1 or en_GB.ISO_8859-1 > > > depending on what English you prefer. If you don't feel like editing a > > > file, just make sure you select either American English or British > > English > > > from the Language menu in gdm. > > > > > > Joe > > > > > > > > > On Fri, 14 Dec 2001, Michael Harnois wrote: > > > > > > > Something about the difference between gdm and xdm seems to cause > > > > certain important environment variables not to get set, i.e. using > > > > perl generates messages like > > > > > > > > perl: warning: Falling back to the standard locale ("C"). > > > > perl: warning: Setting locale failed. > > > > perl: warning: Please check that your locale settings: > > > > LC_ALL = (unset), > > > > LANG = "en_US" > > > > are supported and installed on your system. > > > > > > > > Anyone have a clue? > > > > Another option is to run gdmconfig, go to the Basic/Login behaviour screen > > and change the default locale to something that works better for you. I > > chose "C". > > > > -- > > Richard Kuhns rjk@grauel.com > > PO Box 6249 Tel: (765)477-6000 \ > > 100 Sawmill Road x319 > > Lafayette, IN 47903 (800)489-4891 / > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ports" in the body of the message > > > -- > Michael D. Harnois bilocational bivocational > Pastor, Redeemer Lutheran Church Washburn, Iowa > 1L, UST School of Law Minneapolis, Minnesota > If you want to follow Jesus, you better look good on wood. > --Daniel Berrigan > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message