diff options
Diffstat (limited to 'X11/Xsession.d/91-local-lightdm-profile')
-rw-r--r-- | X11/Xsession.d/91-local-lightdm-profile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/X11/Xsession.d/91-local-lightdm-profile b/X11/Xsession.d/91-local-lightdm-profile new file mode 100644 index 0000000..7afb6a2 --- /dev/null +++ b/X11/Xsession.d/91-local-lightdm-profile @@ -0,0 +1,12 @@ +# load profile and xprofile when using lightdm +# +# borrowed from /etc/gdm3/Xsession + +if pidof lightdm; then + # First read /etc/profile and .profile + test -f /etc/profile && . /etc/profile + test -f "$HOME/.profile" && . "$HOME/.profile" + # Second read /etc/xprofile and .xprofile for X specific setup + test -f /etc/xprofile && . /etc/xprofile + test -f "$HOME/.xprofile" && . "$HOME/.xprofile" +fi |