Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 13:35:42 -0500
From:      "Paul C. Boyle" <paulcb_mcse@yahoo.com>
To:        "Steve Brown" <freebsd@prayforwind.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Environment variables in KDM (KDE2.2.2)... where do I put them?
Message-ID:  <200202281834.NAA06049@alpha.vaxxine.com>
In-Reply-To: <000d01c1c07f$ce4fcb40$660f129f@bro5637>
References:  <000d01c1c07f$ce4fcb40$660f129f@bro5637>

next in thread | previous in thread | raw e-mail | index | archive | help
On February 28, 2002 12:46 pm, you wrote:
> Hello there,
>
> Ok, KDE2.2.2 built and works, got KDM to activate on boot and it works too.
> Now where do I put the environment variables I've currently got in .profile
> (I use bash2). The handbook got me this far but the environment variable
> part is unclear. Thanks in advance,
>
> Regards, Steve
>
You neen to make three files

.bash_profile
.bashrc
.bash_logout

Put these in you home directory ,.  ie.     	/home/steve/.bash_profile
					/home/steve/.bashrc
					/home/steve/.bash_logout

I you want root to use bash		/root/.bash_profile
					/root/.bashrc
					/root/.bash_logout

.bash_profile  	is used by the system when you login.
.bashrc 		is used by sub shells like when you open a term in KDE
.bash_logout	is used is executed when the login shell exits.   You don't have 
to have it


>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202281834.NAA06049>