I've put together a PR to set XDG_DATA_DIRS via environment.d, as was done for PATH:
https://github.com/snapcore/snapd/pull/6813
When this is merged and released, it should remove the need for any special user configuration.
I've put together a PR to set XDG_DATA_DIRS via environment.d, as was done for PATH:
https:/ /github. com/snapcore/ snapd/pull/ 6813
When this is merged and released, it should remove the need for any special user configuration.