On Sam, 2003-02-15 at 23:36, Thomas Mueller wrote:

> I don't know any internals - but gnome-session runs as my user, so isn't
> there a possibility to read my environment variables before executing it?
> 
> > It would also help if GDM sourced /etc/environment and used the settings
> > there as defaults.
> 
> That wouldn't change anything for me (I have root with LANG=C and my
> user, so I didn't touch /etc/environment), but for every installation
> with more users this would be a good idea I think.

[EMAIL PROTECTED]:~$ cat /etc/X11/Xsession.d/98includeprofile
[ -f ~/.bash_profile ] && . ~/.bash_profile
[EMAIL PROTECTED]:~$

Works fine provided your bash_profile does not output anything and is
not interactive (both should really be true - ssh and other things
probably would break, too).

cheers
-- vbi

-- 
Packages should build-depend on what they should build-depend.
        -- Santiago Vila on debian-devel

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to