diff options
author | root <root@ehjlap> | 2013-02-01 13:06:13 +0100 |
---|---|---|
committer | root <root@ehjlap> | 2013-02-02 09:09:16 +0100 |
commit | e71b10c73fb930cd4d19d91ba1c6f03119ec015a (patch) | |
tree | 602d34baea1c4dd128448b8c85e96c8dcd60b6cb /X11/Xsession.d/01-local-lightdm-profile | |
parent | 7b2b915a28ab92920958c423b74e02658efe19e5 (diff) |
Add Xsession snippet to load profile when using lightdm.
Diffstat (limited to 'X11/Xsession.d/01-local-lightdm-profile')
-rw-r--r-- | X11/Xsession.d/01-local-lightdm-profile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/X11/Xsession.d/01-local-lightdm-profile b/X11/Xsession.d/01-local-lightdm-profile new file mode 100644 index 0000000..7afb6a2 --- /dev/null +++ b/X11/Xsession.d/01-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 |