Nikita V. Youshchenko <[EMAIL PROTECTED]> wrote: [...] > Another thing is replacing "#!/bin/sh" by "#!/bin/bash --login" in > /etc/kde3/kdm/Xsession (and other dm's Xsession files). This is the only > way I know to make login shell startup files evaluated during X logins. > This issue is known for ages, but it seems that people who make decisions > don't thing it is necessary. So this isn't likely to be fixed with debconf > questions. [...]
cat <<EOF > /etc/X11/Xsession.d/60local_userenvironment if [ -r /etc/profile ] ;then . /etc/profile fi if [ -r $HOME/.profile ] ; then . $HOME/.profile fi EOF This'll work for all display-managers that use the (Debian-)standard /etc/X11/Xsession.d/. Introducing an ~/.environment which would be evaluated by pam_env would really be nice. cu andreas