On Thu, 21 Jun 2007 09:51:15 -0700 (PDT)
yong lee <[EMAIL PROTECTED]> wrote:

> Liam, I think you have a good point. So how do I
> change its default if I want the file to be sourced
> when I login using GDM. 
> 
> Thanks
> Yong
> 
> 
> --- Liam O'Toole <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, 20 Jun 2007 17:55:37 -0600
> > [EMAIL PROTECTED] (Bob Proulx) wrote:
> > 
> > > yong lee wrote:
> > 
> > [...]
> > 
> > > > I have to manually do source /etc/profile to see
> > the new changes
> > > > after I open a new terminal window everytime. 
> > Even a reboot does
> > > > not help. Does anyone have any idea ?
> > > 
> > > You say that even a reboot does not help and that
> > seems very strange
> > > to me because I am sure that you would log in
> > after that point. :-)
> > > Are you using a shell other than a POSIX
> > compatible one such as csh?
> > 
> > [...]
> > 
> > If the OP logs in using GDM, then (by default)
> > /etc/profile is not
> > sourced.

As Dennis points out elsewhere, you can configure gnome-terminal to run
your shell as a login shell. Another approach is to source /etc/profile
in the file ~/.gnomerc, which is itself sourced by GNOME. That will
make your environment available to all applications, e.g., xterm.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to