Setting environment variables
Alexander Toresson
alexander.toresson at gmail.com
Sat Mar 12 00:38:40 CET 2005
bash -l did it.
However, it also gave me a pair of the same path added to PATH, because
when I couldn't get it to work, I started adding those lines to any
script I could find which seemed to have any relevance :)
I'm starting X with xdm.
I've got these bash* files:
/etc/bash.bashrc
/etc/bash_completion
I've also got an /etc/profile file.
Regards, Alexander Toresson
On Sat, 12 Mar 2005 06:14:36 +1000
Bob Hepple <bhepple at freeshell.org> wrote:
> Have you tried logging out and then log in again? If it's still a problem
> then you need to look at how the X session is started - startx. startxfce4
> or xdm/gdm?
>
> Or try starting bash with "-l" option. If you still can't see the
> environment variables then there's something wrong in the way the system
> starts you up - something in /etc. Maybe you have a /etc/profiles.d
> directory or something similar. Or maybe you have a /etc/bash* files.
>
> Every system is a bit different in exactly how it's set up.
>
>
> Cheers
>
>
>
> Bob
>
>
>
> On Fri, 11 Mar 2005 21:26:33 +0100
> Alexander Toresson <alexander.toresson at gmail.com> wrote:
>
> > I've been trying to set some environment variables. I've added them
> > to .bash_profile in my home directory, like this:
> >
> > PATH=/root/euphoria/bin:$PATH
> > EUDIR=/root/euphoria
> > BROWSER=dillo
> >
> > export PATH EUDIR BROWSER
> >
> > But it still doesn't work! The xfce help complains that it cannot find
> > any browser, and the euphoria programming language cannot find its
> > include files. I've also added the environment vars to my .bashrc,
> > with no success. I also cannot see them in any console or console
> > emulator by typing "set|more".
> >
> > What am I doing wrong?
> >
> > Regards, Alexander Toresson
> > _______________________________________________
> > Xfce mailing list
> > Xfce at xfce.org
> > http://foo-projects.org/mailman/listinfo/xfce
> > http://www.xfce.org
>
>
> --
> Bob Hepple
> mailto:bhepple at freeshell.org http://bhepple.freeshell.org
> Public Key: http://bhepple.freeshell.org/public_keys.txt
>
More information about the Xfce
mailing list