Re: Setting environment variables



Andrei Badea wrote:
Hello Geoffrey,

Geoffrey wrote:

Andrei Badea wrote:

This interests me. Is your .xsession file run when you start your Gnome session through gdm? Mine isn't, and I'd like it to be, but I didn't find a correct way to do it.


.xsession is used when you start X with 'startx' and .Xclients is used when you start X with [xgk]dm. I simply create a sym link between the two, which might be the case for other folks.


Thank you for your answer. I tried to create a .Xclients file, but it isn't executed neither when gdm starts, nor when I log into my Gnome session. When is this file supposed to be run? I looked at gdm's scripts and it seems the .Xclients file is executed when you start a Xsession session. But that's not what I want to do. I want to start a Gnome session, but have a script in my home directory run. Is there any elegant way to do this?

I fubarred this one.  The files you need are .Xclients and .xinitrc

Make sure you have one and then create a sym link to the other. Make sure the one that's the real file is executable.

Let me know if that does not work. Sorry for the screwed up info I provided before. (not enough sleep, not enough coffee)

--
Until later, Geoffrey       Registered Linux User #108567
                            AT&T Certified UNIX System Programmer - 1995



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]