Re: [custom] Some issues for custom debian distributions
Nikita V. Youshchenko <email@example.com> 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
cat <<EOF > /etc/X11/Xsession.d/60local_userenvironment
if [ -r /etc/profile ] ;then
if [ -r $HOME/.profile ] ; then
This'll work for all display-managers that use the (Debian-)standard
Introducing an ~/.environment which would be evaluated by pam_env would
really be nice.