If Mosaic is running in a Flatpak, it will use $XDG_DATA_HOME If Mosaic is running outside a Flatpak environment, it will use $HOME/.mosaic