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

Re: Setting env variable



On Mon, Aug 27, 2001 at 04:20:55PM +0200, Emil Wilmanski wrote:

> Where can I put lines to set env variable to set it everytime when system 
> starts.
> For example JAVA_HOME
> I dont know why /etc/profile
> and $HOME/.profile not work.

They are probably not sourced in the Xsession file.

should be in /etc/X11/Xsession - if the profile scripts are called there
you should be fine. 

You can also do it just for your own user by putting (wild guess)

	#!/bin/sh
	source /etc/profile
	exec kde2

into your ~/.Xsession file.
 

-- 
Jens Benecke ········ http://www.hitchhikers.de/ - Europas Mitfahrzentrale

MSTD, n: MicroSoft Transmitted Disease. Propagates only due to Microsoft's
insistence on distributing [software] that resembles Petri dishes.
See also ILOVEYOU, Melissa, Code Red, Sircam, IIS.
                     -- http://www.everything2.com/index.pl?node=MSTD 

Attachment: pgpcBuj1cmx_O.pgp
Description: PGP signature


Reply to: