Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 14:22:06 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Joe Kelsey <joek@mail.flyingcroc.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gnome-session 2.4 no longer runs $HOME/.gnomerc
Message-ID:  <1064341326.743.53.camel@gyros>
In-Reply-To: <3F708B62.4050205@mail.flyingcroc.net>
References:  <3F7077F3.5080502@mail.flyingcroc.net> <3F707BCE.6010205@mail.flyingcroc.net> <3F7082A1.1040102@mail.flyingcroc.net> <3F708B62.4050205@mail.flyingcroc.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-CU5/zE8z0oev+NNOPqnn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-09-23 at 14:05, Joe Kelsey wrote:
> 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.=20
> > ssh-agent will then be run with:
>=20
> Choose "Default Session" from the GDM Sessions menu, and it tries to run=20
> ~/.Xclients.  This bit of information completely eluded me.  My=20
> .Xclients script consist of
>=20
> #!/bin/ksh
> export SHELL=3D/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=3D1
> export GDK_USE_XFT=3D1
> exec gnome-session
>=20
> Basically, just an exact copy of my old .gnomerc.  I want to rail=20
> against the gratituitous changing of "features", but since they never=20
> documented the feature to begin with, I guess I cannot complain that=20
> much.  It still bugs me how hard the authors made it to trace down all=20
> of the interrelated information necessary to make one simple change.=20
> Just documenting the location of the dm/Sessions files and suggesting=20
> that you might want to copy Default.desktop to Custom.desktop, changing=20
> the "Exec=3Ddefault" to "Exec=3Dcustom" or even just making the=20
> gnome.desktop provide an Exec string to trigger backward-compatible=20
> behavior in Xsession might have helped.

The new GDM does come with documentation (in Yelp), and it does touch on
Sessions a bit.  You might want to check it out.

>=20
> I *really*, *really* hate the myriad of interconnected, obscure=20
> configuration files that Gnome uses.  It doesn't seem as bad as the=20
> myriad of interconnected shell scripts that CDE uses, but at least with=20
> CDE you can start from the first script and slowly work you way through=20
> all of the interconnected scripts until you find the place you want to=20
> customize.
>=20
> Did anyone acutally document the *.desktop files somewhere?

They may be documented in general in the GNOME developer docs at
gnome.org.  However, the GDM docs do touch on the GDM specific options
in Yelp.

Joe

>=20
> /Joe
> (Default.desktop give me the behavior I want)
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-CU5/zE8z0oev+NNOPqnn
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/cI9Nb2iPiv4Uz4cRAkxpAJ4ieh16YToBcccKinSJp9NX2hcO2gCgn8SF
ohRe5ZrQMqDwwY/TdSGLxL8=
=Vq7D
-----END PGP SIGNATURE-----

--=-CU5/zE8z0oev+NNOPqnn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064341326.743.53.camel>