On Tue, 29 Nov 2005 15:54:26 -0600 (CST) "Ibukun Olumuyiwa" <[EMAIL PROTECTED]> wrote:
> Actually, I would think it is...and I'm having a hard time understanding > why you would not want to clear the environment first. Any env settings > you want for a user should be stored in that users profile to begin with, > not carried over from root's. In the distro I am packaging Entrance for the minimal environment that is required for every user contains some special variables like PYTHONPATH. All of these are stored in the shell script /etc/environment. init sources that file and so does bash (because bash clears the environment as well). In this context, not clearing the environment in Entrance does not cause any problems. Now, if you think Entrance should always clear the environment, that's ok. My next option would then be to have Entrance read the variables it is supposed to set from /etc/environment. If I am not mistaken, simply executing /etc/environment in entrance would not set the variables. I would have to parse the file (using regular expressions) and set the individual variables explicitly. Would that approach be ok for you? The obvious alternative would be to store the user environment in Entrance's config file, but that would be a problem in my case, because /etc/environment is changed whenever new packages are installed on the distro. Propagating these changes to Entrance's config file would be too much of a hazzle. Felix ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel