Re: global environment variables?
Christian Kesselheim wrote:
> Sorry, but i do not aggree with you. /etc/environment is not specific to
> the Xsession, but to the PAM-module pam_env;
Well, in /etc/X11/gdm/Sessions/Gnome, I find the following:
### Shell environment
if [ -f /etc/environment ]; then
. /etc/environment
fi
Although, interestingly, the other gdm session scripts (Debian, Xsession)
do not have this. But at least the Gnome session script does indeed load
/etc/environment. If pam uses it as well, that's good to know.
Craig
Reply to: