[SATLUG] anyone figure out how to run .profile under X?

travis+ml-satlug at subspacefield.org travis+ml-satlug at subspacefield.org
Tue Aug 10 18:53:52 CDT 2010

On Tue, Aug 10, 2010 at 06:51:48PM -0500, Robert Pearson wrote:
> On Tue, Aug 10, 2010 at 6:35 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
> > That causes problems if you have something like:
> >
> > ?export PATH=my_special_path:$PATH
> >
> > Generally you don't want to set environment variables in .bashrc

Nor do you want to echo anything, since it gets called by any subshell.

> Without special checking for already existing "envars" in ~/.bashrc
> then problems can arise.
> In the past I put all "permanent-personal" environmental variables
> either in /etc/profile or in ~/.profile.
> What I can't remember is whether or not the remote logins source
> ~/.profile. It is sourced from /etc/profile by default if it exists so
> it should be.

See the "latest dot-profile article" on my homepage for a solution
to this problem and question.
A Weapon of Mass Construction
My emails do not have attachments; it's a digital signature that your mail
program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email john at subspacefield.org to get blacklisted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://www.satlug.org/pipermail/satlug/attachments/20100810/ecc07979/attachment.bin

More information about the SATLUG mailing list