[sclug] puzzle: including ~/bin in $PATH

John Stumbles john at stumbles.org.uk
Mon Nov 28 22:30:55 UTC 2005


Roland Turner (SCLUG) wrote:
> On Mon, 2005-11-28 at 09:57 +0000, John Stumbles wrote:
> 
> 
> Umm, it sounds like you've not understood what ~/.bash_profile etc. are
> for. 
...
> ... if you     are looking to set environment variables for
> your entire session  ... you will need to work out how to do that for your
> session manager. I don't know enough about KDE to know how to do this.

If I do
	echo 'touch bash_profile_woz_ere' >> /home/test/.bash_profile
and start a kde session as user 'test' on my kubuntu hoary machine I get 
a 'bash_profile_woz_ere' file creates as kde starts up. If I do it on 
debian sarge I don't.

So it seems that under kubuntu kde is executing .bash_profile.

I've trawled through all the likely-looking kde-related files I can find 
(find / -xdev -name 'kde*') on the kubuntu machine for anything 
accessing .bash_profile, but in vain. Surely it's not compiled into 
kubuntu's kde build .... ?


-- 
John Stumbles


More information about the Sclug mailing list