From owner-freebsd-questions Mon Jun 26 11:31:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.server.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 7AFF337BC58 for ; Mon, 26 Jun 2000 11:31:39 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.91.224]) by mta01-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000626183137.DKFG381.mta01-svc.server.ntlworld.com@parish.my.domain>; Mon, 26 Jun 2000 19:31:37 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01098; Mon, 26 Jun 2000 19:31:31 +0100 (BST) (envelope-from mark) Date: Mon, 26 Jun 2000 19:31:31 +0100 From: Mark Ovens To: Joey Garcia Cc: questions@freebsd.org Subject: Re: Locale Errors while in Xterms and GNOME Message-ID: <20000626193131.C232@parish> References: <395715F3.5A3D260B@nettaxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <395715F3.5A3D260B@nettaxi.com>; from gummibear@nettaxi.com on Mon, Jun 26, 2000 at 08:36:03AM +0000 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 26, 2000 at 08:36:03AM +0000, Joey Garcia wrote: > I was wondering what this meant and how could it be resolved? I looked > at the perl locale man page and I was curious to how I can set my locale > correctly. I even took a look in /usr/share/locale but wasn't sure what > it all meant. Since I'm in the U.S. I'm assuming I'd use some us > locales, but I'm not sure how to correctly go about doing this. Any > help would be appreciated. Some locale warnings and stuff is listed > below. > > #################################### > > Below are GTK/GDK warnings that I get after running GNOME in my > xinit.log (startx > xinit.log 2>&1) I get these alot, one after > another almost endlessly. > > Gdk-WARNING **: locale not supported by C library > > Gdk-WARNING **: locale not supported by C library > I used to see these with the pan newsreader. The fix was to add: setenv LC_ALL en_GB.ISO_8859-1 setenv LC_CTYPE en_GB.ISO_8859-1 setenv LANG en_GB.ISO_8859-1 to ~/.cshrc. You'll need to change en_GB, obviously (en_US??), check /usr/share/locale/ HTH > ################################### > > Below is an example of what happens when i run the perl program 'which' > in an xterm. > > bsd:~/$ which > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LC_ALL = (unset), > LC_CTYPE = "en_US", > LANG = (unset) > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message