From owner-freebsd-gnome@FreeBSD.ORG Sat Oct 4 23:11:39 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94E8216A4B3 for ; Sat, 4 Oct 2003 23:11:39 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7891A43FCB for ; Sat, 4 Oct 2003 23:11:38 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])h9569HVx024570; Sun, 5 Oct 2003 02:09:17 -0400 (EDT) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h956BUNS008550; Sun, 5 Oct 2003 02:11:30 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Glenn Johnson In-Reply-To: <20031005055648.GA1402@gforce.johnson.home> References: <20031004045826.GA1198@gforce.johnson.home> <1065286600.27243.4.camel@shumai.marcuscom.com> <20031005033521.GA820@gforce.johnson.home> <1065327993.385.0.camel@shumai.marcuscom.com> <20031005050135.GA870@gforce.johnson.home> <1065331142.385.2.camel@shumai.marcuscom.com> <20031005053046.GA916@gforce.johnson.home> <1065332594.385.6.camel@shumai.marcuscom.com> <20031005055648.GA1402@gforce.johnson.home> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8gOCfux1OLeZO5T/F5+x" Organization: MarcusCom, Inc. Message-Id: <1065334294.385.8.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 05 Oct 2003 02:11:34 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com cc: Gnome-FreeBSD List Subject: Re: problem setting language in gdm2.4 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2003 06:11:39 -0000 --=-8gOCfux1OLeZO5T/F5+x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-10-05 at 01:56, Glenn Johnson wrote: > On Sun, Oct 05, 2003 at 01:43:14AM -0400, Joe Marcus Clarke wrote: >=20 > > On Sun, 2003-10-05 at 01:30, Glenn Johnson wrote: > > > > > On Sun, Oct 05, 2003 at 01:19:02AM -0400, Joe Marcus Clarke wrote: > > > > > > > On Sun, 2003-10-05 at 01:01, Glenn Johnson wrote: > > > > > > > > > On Sun, Oct 05, 2003 at 12:26:33AM -0400, Joe Marcus Clarke > > > > > wrote: > > > > > > > > > > > On Sat, 2003-10-04 at 23:35, Glenn Johnson wrote: > > > > > > > > > > > > > On Sat, Oct 04, 2003 at 12:56:40PM -0400, Joe Marcus Clarke > > > > > > > wrote: > > > > > > > > > > > > > > > On Sat, 2003-10-04 at 00:58, Glenn Johnson wrote: > > > > > > > > > > > > > > > > > I tried to set my language to "American English" in > > > > > > > > > gdm2.4.4.3 but it gives an error the "en.US" is not > > > > > > > > > found and it uses the system default. The problem > > > > > > > > > with that is the system default does not show all > > > > > > > > > of the characters. This is particularly a problem > > > > > > > > > with trying to use digraphs in vim running in a > > > > > > > > > gnome-terminal. Setting the language in gdm used to do > > > > > > > > > the right thing. > > > > > > > > > > > > > > > > > > Any ideas? Thanks. > > > > > > > > > > > > > > > > I just did this, and it worked (i.e. it > > > > > > > > set LANG to en_US.ISO_8859-1). Check your > > > > > > > > /usr/X11R6/etc/gdm/locale.aliases file to see what > > > > > > > > American English is mapped to. > > > > > > > > > > > > > > The following is grepped from locale.alias in > > > > > > > /usr/X11R6/etc/gdm: > > > > > > > > > > > > > > English(American) en_US.UTF-8,en_US.ISO_8859-1 > > > > > > > > > > > > Looks like gdm-2.4.4.x changed things. Look for ~/.dmrc. > > > > > > > > > > I have that one. Here are the contents: > > > > > > > > > > [Desktop] > > > > > Session=3Dgnome > > > > > > > > Try adding: > > > > > > > > Language=3Den_US.ISO_8859-1 > > > > > > > > And see if that helps. > > > > > > I tried it, but no joy. When I logged in with gdm, I got the > > > following message in a dialog box: > > > > > > Language en_US.ISO_8859-1 does not exist. > > > Using System default. > > >=20 > > > Of course, that brings me right back where I was. > >=20 > > Try: > >=20 > > en_US.ISO8859-1 >=20 > That works! >=20 > I went ahead and removed the Language line from ~/.dmrc and edited the > gdm locale.alias file to change en_US.ISO-8859-1 to en_US.ISO8859-1 to > make sure that gdm would handle it correctly. It did. After I logged > in, the Language entry was back in my ~/.dmrc file and digraphs work in > vim in a gnome-terminal again. >=20 > Looking at what is in /usr/share/locale, I guess all of those entries in > the gdm locale.alias file are incorrect. They have been obsoleted in -CURRENT. I'll go ahead and patch them. Joe >=20 > Thanks for your help. --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-8gOCfux1OLeZO5T/F5+x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/f7YWb2iPiv4Uz4cRAohlAJ9zqJXPSX0CLTs7UxET0oxpCik0YACeLVQy 1wn+03GuP7DAN+TALL1VgvY= =T28w -----END PGP SIGNATURE----- --=-8gOCfux1OLeZO5T/F5+x--