blob: 206854a0b8aecb3c76a9a97510e82babb40035c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#
# ~/.xsessionrc
#
# Some display managers (e.g., lightdm) do NOT source ~/.profile
# or ~/.xprofile, but some other display managers do. Therefore,
# it is better to use this ~/.xsessionrc to do the initializations,
# as it will be *sourced* by Xsession(5), making the results more
# consistent among different display managers.
#
# See Xsession(5) for more details.
#
# References:
# [1] XFCE/lightdm startup configuration files
# https://superuser.com/a/687401
# [2] lightdm forgets to source /etc/profile and ~/.profile
# https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/794315
#
#
# Aaron LI
# 2017-09-20
#
[ -e ${HOME}/.profile ] && . ${HOME}/.profile || true
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=sh: #
|