/etc/X11/Xsession.d/25unburden-home-dir-xdg is in unburden-home-dir 0.4.0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*- shell-script -*-
# /etc/X11/Xsession.d/25unburden-home-dir-xdg
# This file is sourced by Xsession(5), not executed.
if [ -z "$UNBURDEN_HOME_DIR_COMMON_SOURCED" ]; then
if [ -e share/common.sh ]; then
. share/common.sh
elif [ -e /usr/share/unburden-home-dir/common.sh ]; then
. /usr/share/unburden-home-dir/common.sh
fi
fi
if unburden_it; then
if [ -z "$XDG_CACHE_HOME" ]; then
XDG_CACHE_HOME="${TARGETDIR:-${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}}/$(echo "${FILELAYOUT:-.unburden-%u/%s}" | sed -e "s/%u/$USER/;s/%s/cache/")"
export XDG_CACHE_HOME
fi
fi
|