It's one of the shell scripts in https://git.launchpad.net/ubuntu/+source/xorg/tree/debian/local/Xsession.d, which is then installed to /etc/X11/Xsession.d
The most appropriate would be 60x11-common_xdg_path, where CONFIG and DATA dirs are exported from. I'm on Xubuntu 20.04 but I checked the devel branch. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1969305 Title: Export XDG_CONFIG_HOME and XDG_DATA_HOME as well Status in xorg package in Ubuntu: Incomplete Bug description: These base directories should also be included to make scripting easier. Their default values should be set as per XDG base-dir spec, i.e.: XDG_CONFIG_HOME="$HOME/.config" XDG_DATA_HOME="$HOME/.local/share" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1969305/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp