The XDG specification talks about the
XDG_CONFIG_HOME variable, but does not specify where it should be defined. Should we define it in
/etc/X11/Xsession, or is it the window manager's config file that needs to define this?
I tried declaring it in /etc/environment as
but that didn't work, as it seems that $HOME is not defined when
/etc/environment is parsed.
The only documentation I could find online was for Gentoo, where it was declared in
I'm using Ubuntu. What would be the general solution for Debian based distros?