Re: setting in /etc/profile in debian

2007-06-21 Thread Liam O'Toole
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

Re: setting in /etc/profile in debian

2007-06-21 Thread Bob McGowan
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: > >

Re: setting in /etc/profile in debian

2007-06-21 Thread Dennis G. Wicks
Here is how to do it. I posted this back on 31 March 2007. This illustrats the value of searching the archives first. Good Luck! Dennis 1. Open a terminal window. 2. Click "Edit" 3. Click "Current Profile" 4. Select "Title and Command" tab 5. Mar

Re: setting in /etc/profile in debian

2007-06-21 Thread yong lee
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: > > [...] >

Re: setting in /etc/profile in debian

2007-06-21 Thread Liam O'Toole
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

Re: setting in /etc/profile in debian

2007-06-20 Thread Kushal Kumaran
On Wed, Jun 20, 2007 at 05:55:37PM -0600, Bob Proulx wrote: > > > > In any case some standard ways of dealing with this are: > > * Install in your $HOME directory instead of /usr/local and then add > these paths to your $HOME/.bashrc file. This is typical for a > personal installation. > >

Re: setting in /etc/profile in debian

2007-06-20 Thread Bob Proulx
yong lee wrote: > I add new entry in /etc/profile.(see below) > #add java variable > JAVA_HOME=/usr/local/jre1.6.0_01 > export JAVA_HOME > > #add JAVA_HOME to the PATH > PATH="${JAVA_HOME}/bin:${PATH}" > export PATH That is a very un-Debian way of doing things because it requires that a user log

Re: setting in /etc/profile in debian

2007-06-20 Thread Orestes leal
On Wed, 20 Jun 2007 16:06:57 -0700 (PDT) yong lee <[EMAIL PROTECTED]> wrote: > I thought these new entries would be effective after I > reopen a new terminal window. But it did not. I have > to manually do source /etc/profile to see the new Make the same change in ~/.bashrc, it depends on the WM

setting in /etc/profile in debian

2007-06-20 Thread yong lee
I add new entry in /etc/profile.(see below) #add java variable JAVA_HOME=/usr/local/jre1.6.0_01 export JAVA_HOME #add JAVA_HOME to the PATH PATH="${JAVA_HOME}/bin:${PATH}" export PATH I thought these new entries would be effective after I reopen a new terminal window. But it did not. I have to m