Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2005 16:14:47 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        freebsd-gnome@freebsd.org
Subject:   Re: Gdm session files
Message-ID:  <1125260087.25434.5.camel@shumai.marcuscom.com>
In-Reply-To: <20050828200937.GA81373@twelvegates.homeip.net>
References:  <20050828100403.GA1392@twelvegates.homeip.net> <7daacbbe05082803155a3b6f79@mail.gmail.com> <20050828183203.GA80043@twelvegates.homeip.net> <1125254959.25434.0.camel@shumai.marcuscom.com> <20050828200937.GA81373@twelvegates.homeip.net>

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

--=-T8AjAyw2h8ffOJ0YD7sB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-08-28 at 22:09 +0200, Hanspeter Roth wrote:
>   On Aug 28 at 14:49, Joe Marcus Clarke spoke:
>=20
> > On Sun, 2005-08-28 at 20:32 +0200, Hanspeter Roth wrote:
> > >   On Aug 28 at 12:15, Dominique Goncalves spoke:
> > >=20
> > > > http://www.freebsd.org/gnome/docs/faq2.html#q16
> > >=20
> > > Ok. I have created an icewm.desktop with Name=3DIcewm. This appears a=
s
> > > '3. Icewm'.
> > > And I've create an xinitrc.desktop with Name=3DXinitrc. But this
> > > appears as '4. foo'.
> > > Why is 'foo' used instead of 'Xinitrc'?
> >=20
> > Your TryExec line is probably wrong.  Note: you should not create
> > a .xinitrc entry for any display manager.
>=20
> Why not?

Because .xinitc and a display manager do the same thing in different
ways.  In any event, what you're doing below is not possible.

> My whole xinitrc.desktop looks like:
>=20
> [Desktop Entry]
> Encoding=3DUTF-8
> Name=3DXinitrc
> Comment=3DXinitrc
> Exec=3D$HOME/.xinitrc
> TryExec=3D$HOME/.xinitrc
> Icon=3D
> Type=3DApplication
>=20
> So what is the meaning of TryExec?

TryExec means, test to see if this file is executable.  If it is, then
this is a valid desktop entry.  If not, then it's foo.  $HOME is not set
when GDM starts, so putting $HOME in there will not work.  It would be
best to write a wrapper script that can execute each user's .xinitrc
after GDM starts the desired session.

> Are these fields documented somewhere?

Yes, in the GDM online help.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-T8AjAyw2h8ffOJ0YD7sB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDEhs3b2iPiv4Uz4cRAhgsAJ0Yos2gec0E+oFp45eKKkvlp8ut1ACgghJc
TMtR3hWSE9jV3QEgen0jgvg=
=Izza
-----END PGP SIGNATURE-----

--=-T8AjAyw2h8ffOJ0YD7sB--




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