[Glastonbury] gdm / GNOME startup - user preferences
tim hall
tech at glastonburymusic.org.uk
Mon Jan 3 17:02:11 GMT 2005
Last Monday 03 January 2005 11:43, Damon Chaplin was like:
> On Thu, 2004-12-30 at 18:30, tim hall wrote:
> > Last Thursday 30 December 2004 15:26, tim hall was like:
> > > Does anybody know what file _does_ get read that I could copy the
> > > relevant bash commands over to? Or would it be possible to call an
> > > arbitrary file by adding a script to /etc/X11/Xsession.d/? The GNOME
> > > documentation on the matter is unbelievably dense and leads me to think
> > > I have to create a .desktop file somewhere, a format I guess I'll have
> > > to get used to if I'm going to use GNOME. *sigh*
> >
> > OK, I discovered the GNOME Session Manager. I still haven't figured how
> > to get the script to export environment variables as .xinitrc would. I'll
> > keep looking.
>
> Can't you set the environment variables in your ~/.bashrc file?
> That is the easiest thing to do. On Fedora you can also tweak
> /etc/bashrc to set variables for all users (it is read by ~/.bashrc).
>
>
> gdm should have a config file somewhere (/etc/X11/gdm/gdm.conf on
> Fedora).
>
> That has settings like these:
> PostLoginScriptDir=/etc/X11/gdm/PostLogin/
> PreSessionScriptDir=/etc/X11/gdm/PreSession/
> PostSessionScriptDir=/etc/X11/gdm/PostSession/
>
> You could tweak the scripts there I suppose.
> Apparently gdm has some help documentation in the "System" section, but
> I can't see it on my machine. It does have a man page though.
>
>
> .desktop files are a freedesktop.org standard, used by GNOME & KDE.
> See http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec
Thanks for the clues Damon.
cheers
tim hall
http://glastonburymusic.org.uk
More information about the Glastonbury
mailing list