Hoël Bézier <hoelbezier_at_riseup.net> writes:
> So in my opinion, the process should be:
> - list whether HOME or XDG variables are undefined
> - grep the config file for occurences of those
> - if HOME or XDG_RUNTIME_DIR matches, fail
> - if any other XDG variable matches, fail if HOME is undefined
i might be misunderstanding what you're saying, but i just want to
note that the XDG base directories don't need to involve HOME:
https://wiki.gentoo.org/wiki/XDG/Base_Directories
That is, for a number of XDG variables, although the specification
describes fallback defaults based on HOME, a user can set them to
values that don't involve HOME.
Alexis.
Received on Wed Sep 23 2026 - 23:55:17 CEST