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

Re: Selecting things under 'X' using ENV variables



Thomas Adam wrote:

--- "David A. Cobb" <superbiskit@cox.net> wrote:
This brings up a big question for me.

And me.  You really should persue the damn archives.  This issue has been
raised on here to death, hell and back again.  I really do not want to see
a repeat performance of it.

It appears that, when I login via XDM or GDM, the scripts "/etc/profile"

and "~/.profile" are NOT run. Are there equivalent scripts for X / Gnome? and if so, what are they?

It appears all you need to do is add:

[ -f ~/.bash_profile ] && source ~/.bash_profile

to ~/.xsession so that it is read when you login via XDM.  Of course, the
above assumes that ~/.bash_profile sources ~/.bashrc in turn.

-- Thomas Adam

Thank you, Thomas. Especially for your patience with a Linux "newbie." Most of my 30+ years with computers involved things you had to have a new building to contain and half a dozen mean SOB's to operate.

Actually, I tried something like that once. In the process I horked some permissions and was sent back to console-mode for nearly a week.

Do I dare say, "but I'm using GDM" ? I get the idea. I'll google about in the archive as well.
=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)"

-- Benjamin A. Okopnik (Linux Gazette Technical Editor)

Send instant messages to your online friends http://uk.messenger.yahoo.com


--
David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace, I am a Christian man; by my actions a great sinner." -- The Way of a Pilgrim: R.French, Tr.
Life is too short to tolerate crappy software!





Reply to: