In my career I worked with plenty of different software that require the presence of certain environment variables for them to function properly. From time to time I would notice that the program either offers it as an option or requires you to have XDG_... type variable be set in your environment. I never looked too deeply into it, however I understood that it provided base paths for the locations of configuration and application files. I simply never tried to understand what those variables...