discuss-gnustep
[Top][All Lists]
Advanced

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

RE: Start GNUstep.sh as early as possible in Xwindow session


From: Vaisburd, Haim
Subject: RE: Start GNUstep.sh as early as possible in Xwindow session
Date: Mon, 17 Apr 2006 11:30:09 -0700

Charles Philip Chan wrote:

> Do you know of any shell other than t/csh that does not read
~/.profile?

bash does not read ~/.profile if it finds ~/.bash_profile

Just a note: bash (and, maybe, some other popular shells)
distinguishes between
1. interactive login shell
2. interactive, but not login shell
3. non-interactive shell

The files it reads upon initialization differ in all 3 cases.
So I should have written something like "when bash is going
to read user profile file, it first goes for ~/.bash_profile,
and if it finds it, it does not read any more user profile files".

I found that on many system a display manager (xdm) starts a shell
that is not interactive at all, so neither ~/.bashrc nor ~/.bash_profile
is read before the system X session script ( Xsession ) is executed.
This might explain why sourcing GNUstep.sh in ~/.bashrc had no effect
on applications launched in Xsession.


Tima.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]