From owner-freebsd-gnome@FreeBSD.ORG Tue Sep 23 11:05:41 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 9E8DD16A4B3 for ; Tue, 23 Sep 2003 11:05:41 -0700 (PDT) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5827044042 for ; Tue, 23 Sep 2003 11:05:23 -0700 (PDT) (envelope-from joek@mail.flyingcroc.net) Received: from mail.flyingcroc.net (zircon.staff.flyingcroc.net [207.246.150.92])h8NI5MHG009053 for ; Tue, 23 Sep 2003 11:05:23 -0700 (PDT) Message-ID: <3F708B62.4050205@mail.flyingcroc.net> Date: Tue, 23 Sep 2003 11:05:22 -0700 From: Joe Kelsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD GNOME Users References: <3F7077F3.5080502@mail.flyingcroc.net> <1064335655.743.21.camel@gyros> <3F707BCE.6010205@mail.flyingcroc.net> <1064336774.743.27.camel@gyros> <3F7082A1.1040102@mail.flyingcroc.net> <1064338518.743.40.camel@gyros> In-Reply-To: <1064338518.743.40.camel@gyros> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 18:05:41 -0000 Joe Marcus Clarke wrote: > Like I said in my previous email, it looks like you'd need to create a > /usr/X11R6/etc/dm/Sessions .desktop file that has an Exec action of > customer. However, in poking through Xsession some more, you should be > able to achieve a similar behavior to .gnomerc with ~/.Xclients. > ssh-agent will then be run with: Choose "Default Session" from the GDM Sessions menu, and it tries to run ~/.Xclients. This bit of information completely eluded me. My .Xclients script consist of #!/bin/ksh export SHELL=/bin/ksh umask 2 echo inside gnomerc cho ssh agent $SSH_AGENT_PID if [ -n "$SSH_AGENT_PID" ] then if [ -f .ssh/identity ] then ssh-add < /dev/null fi fi export DOTGNOMERC=1 export GDK_USE_XFT=1 exec gnome-session Basically, just an exact copy of my old .gnomerc. I want to rail against the gratituitous changing of "features", but since they never documented the feature to begin with, I guess I cannot complain that much. It still bugs me how hard the authors made it to trace down all of the interrelated information necessary to make one simple change. Just documenting the location of the dm/Sessions files and suggesting that you might want to copy Default.desktop to Custom.desktop, changing the "Exec=default" to "Exec=custom" or even just making the gnome.desktop provide an Exec string to trigger backward-compatible behavior in Xsession might have helped. I *really*, *really* hate the myriad of interconnected, obscure configuration files that Gnome uses. It doesn't seem as bad as the myriad of interconnected shell scripts that CDE uses, but at least with CDE you can start from the first script and slowly work you way through all of the interconnected scripts until you find the place you want to customize. Did anyone acutally document the *.desktop files somewhere? /Joe (Default.desktop give me the behavior I want)