From owner-freebsd-gnome@FreeBSD.ORG Tue Sep 23 10:18:12 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 8AF3116A4B3 for ; Tue, 23 Sep 2003 10:18:12 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [69.58.128.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58ABF4400D for ; Tue, 23 Sep 2003 10:18:10 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [69.58.132.98] (helo=daggar.sbgnet.local) by hermes.pressenter.com with smtp (Exim 3.35 #1) id 1A1qng-0007Lq-00; Tue, 23 Sep 2003 12:18:08 -0500 Date: Tue, 23 Sep 2003 12:18:07 -0500 From: Stephen Hilton To: Joe Marcus Clarke Message-Id: <20030923121807.5731912a.nospam@hiltonbsd.com> In-Reply-To: <1064336774.743.27.camel@gyros> References: <3F7077F3.5080502@mail.flyingcroc.net> <3F707BCE.6010205@mail.flyingcroc.net> <1064336774.743.27.camel@gyros> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:18:12 -0000 On Tue, 23 Sep 2003 13:06:14 -0400 Joe Marcus Clarke wrote: > 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? > > > > > > > > > Yes, a lot changed in GNOME 2.4. The new script is ~/.xsession. > > > > .xsession doesn't work the same way. gdm/Xsession checks for the > > existence of .xsession an uses that *instead of* the default "ssh-agent > > -- gnome-session". .gnomerc used to get executed *after* launching > > gnome-session so that I could run ssh-add. > > 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. > > > Now, the same ability does > > not exist, so I have to completely recreate the overall structure by > > first starting ssh-agent in the background in .xsession, then run > > ssh-add, then exec gnome-session. This completely severs the ability to > > automatically kill ssh-agent at logout, and I hve to come up with an > > alternative, such as leaving a remnant shell to do the clean-up. > > > > What a horrible mess! > > Also attached is my old .gnomerc which calls gnome-session at the end. > You can certainly add your own commands to this. Just make sure the > last command is exec gnome-session. Could I get futher clarification on this please :) Does Gnome 2.4 use ~/.gnomerc as it does in Gnome 2.2 ? Regards, Stephen Hilton nospam@hiltonbsd.com