[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Does X11 ignore ~/.bash_profile?



On 23-Sep-99 Johann Spies wrote:
> I am trying to install real player and have the following lines in my
> ~/.bash_profile:
> 
> LD_LIBRARY_PATH=/usr/local/src/rvplayer5.0
> export LD_LIBRARY_PATH
> PATH=$PATH:/usr/local/src/rvplayer5.0
> 
> When I do an "echo $PATH" in the console, I get:
> 
> 
> .::/home/jhspies/bin:/usr/gnu/bin:/usr/bin/X11:/use/X11R6/bin:
> /usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/sbin:
> /usr/sbin:/usr/games:/usr/local/sbin:/home/jhspies/bin:
> /usr/arx/bin:/usr/local/lib:/usr/local/pgsql/bin:
> /home/jhspies/Office51/bin:/usr/local/src/rvplayer5.0
> 
> However when I do it in xterm I get 
> 
> .::/home/jhspies/bin:/usr/gnu/bin:/usr/bin/X11:/use/X11R6/bin:
> /usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/sbin:
> /usr/sbin:/usr/games:/usr/local/sbin:/home/jhspies/bin:
> /usr/arx/bin:/usr/local/lib
> 
> Does X11 ignore ~/.bash_profile?

I have this stuff (my PATH) in my .bashrc and my aliases too.
I have in my .bash_profile the line:

ENV=$HOME/.bashrc

This is so that it sources .bashrc

My LD_LIBRARY_PATH is in my user .profile

X11 seems to ignore .bash_profile because .bash_profile is for login shells.

--
Andrew


Reply to: