Re: Global environment variables under Gnome?
- From: "Jean-Raymond.Chauviere" <Jean-Raymond Chauviere cetelem fr>
- To: Toralf Lund <toralf kscanners com>
- Cc: Mart van de Wege <wege34 zonnet nl>, gnome-list gnome org
- Subject: Re: Global environment variables under Gnome?
- Date: Fri, 10 Nov 2000 09:46:34 +0100
> > > A minor question just popped up recently: How do I set
> > > environment variables in Gnome? On my old setup (RH 6.2) it was
> > > just a question of adding the right export statements to /etc/profile,
good, but only if you want the change for every user. You must not
modify it
for your own convenience.
> >
> > I think what's doing the trick with Red Hat Linux is the following line:
> >
> > #!/bin/bash -login
And you will need to change every scripts !!
What about the ENV file ?
in the ~/.profile or ~/.bash-profile (I usually make a link)
ENV=$HOME/.bashrc
export ENV
and what you want in the $ENV. It will be executed at every call of bash
before
to execute anything else. You can put there everything that is not
exported.
bash -login is mainly usefull to reset your environnement as in
exec bash -login
--
Nur der Kleingeist hält Ordnung, das Genie beherrscht das Chaos.
Seuls les petits esprits aiment l'ordre, le génie maitrîse le chaos.
(anonyme)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]