From owner-freebsd-gnome@FreeBSD.ORG Tue Sep 23 10:26:47 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 C4E3916A4B3 for ; Tue, 23 Sep 2003 10:26:47 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91ED943F75 for ; Tue, 23 Sep 2003 10:26:46 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h8NHJJ0Q002658; Tue, 23 Sep 2003 13:19:19 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h8NHPqlB028044; Tue, 23 Sep 2003 13:25:52 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Stephen Hilton In-Reply-To: <20030923121807.5731912a.nospam@hiltonbsd.com> References: <3F7077F3.5080502@mail.flyingcroc.net> <1064336774.743.27.camel@gyros> <20030923121807.5731912a.nospam@hiltonbsd.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-u4RGJYJjzykvsTcoPsff" Organization: MarcusCom, Inc. Message-Id: <1064337992.743.37.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 23 Sep 2003 13:26:32 -0400 X-Spam-Status: No, hits=-11.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-gnome@freebsd.org Subject: Re: gnome-session 2.4 no longer runs $HOME/.gnomerc 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: Tue, 23 Sep 2003 17:26:48 -0000 --=-u4RGJYJjzykvsTcoPsff Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-09-23 at 13:18, Stephen Hilton wrote: > On Tue, 23 Sep 2003 13:06:14 -0400 > Joe Marcus Clarke wrote: >=20 > > On Tue, 2003-09-23 at 12:58, Joe Kelsey wrote: > > > Joe Marcus Clarke wrote: > > > > On Tue, 2003-09-23 at 12:42, Joe Kelsey wrote: > > > >>Did something change in Gnome 2.4 to affect this? > > > >=20 > > > >=20 > > > > Yes, a lot changed in GNOME 2.4. The new script is ~/.xsession. > > >=20 > > > .xsession doesn't work the same way. gdm/Xsession checks for the=20 > > > existence of .xsession an uses that *instead of* the default "ssh-age= nt=20 > > > -- gnome-session". .gnomerc used to get executed *after* launching=20 > > > gnome-session so that I could run ssh-add. > >=20 > > No it didn't. I always used .gnomerc, and it was always executed by > > GDM. Attached is the old code to prove it. Also, if you grep through > > the gnome-session-2.2.2 code, you will see no mention of .gnomerc. > >=20 > > > Now, the same ability does=20 > > > not exist, so I have to completely recreate the overall structure by=20 > > > first starting ssh-agent in the background in .xsession, then run=20 > > > ssh-add, then exec gnome-session. This completely severs the ability= to=20 > > > automatically kill ssh-agent at logout, and I hve to come up with an=20 > > > alternative, such as leaving a remnant shell to do the clean-up. > > >=20 > > > What a horrible mess! > >=20 > > Also attached is my old .gnomerc which calls gnome-session at the end.=20 > > You can certainly add your own commands to this. Just make sure the > > last command is exec gnome-session. >=20 > Could I get futher clarification on this please :) >=20 > Does Gnome 2.4 use ~/.gnomerc as it does in Gnome 2.2 ? No, it uses ~/.xsession in much the same way as .gnomerc. It's doing this to be more KDE-friendly. It will only do this if the command is set to "custom." To do that, you will need to create a custom /usr/X11R6/etc/dm/Sessions file with an Exec action of "custom."=20 However, by default, ~/.xsession will not be run. This is all from looking at the code, so I may be mistaken. Some of this may also have changed in 2.4.4.2. I haven't looked yet. Joe >=20 >=20 > Regards, >=20 >=20 > Stephen Hilton nospam@hiltonbsd.com --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-u4RGJYJjzykvsTcoPsff 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/cIJIb2iPiv4Uz4cRAsSeAJ0TFoLAjUFW7i9nGnmmqFLLhQwRSwCgiR3Z XXz/gColsWLiuNrjK8efWGI= =Xy2H -----END PGP SIGNATURE----- --=-u4RGJYJjzykvsTcoPsff--