kdm: run all system xinitrc shell scripts

most, if not all, distributions carry a patch to do this.
This commit is contained in:
Ivailo Monev 2014-12-26 19:45:58 +00:00
parent 0183345984
commit f2ace99e6b

View file

@ -751,6 +751,15 @@ static const char def_session2[] =
"[ -f /etc/xprofile ] && . /etc/xprofile\n"
"[ -f $HOME/.xprofile ] && . $HOME/.xprofile\n"
"\n"
"# run all system xinitrc shell scripts.\n"
"if [ -d /etc/X11/xinit/xinitrc.d ]; then\n"
" for i in /etc/X11/xinit/xinitrc.d/* ; do\n"
" if [ -x \"$i\" ]; then\n"
" . \"$i\"\n"
" fi\n"
" done\n"
"fi\n"
"\n"
"if [ -d /etc/X11/Xresources ]; then\n"
" for i in /etc/X11/Xresources/*; do\n"
" [ -f $i ] && xrdb -merge $i\n"