I am not sure if your instruction makes sense.
I had installed Debian-Mate, customized it, then created a remastered DVD. I had the issue with XDG occur then recur. I wiped the hard drive and installed Ubuntu-Mate LTS, instead. There is a weird intermittent flickering or pausing of everything. It mysteriously starts and mysteriously disappears, so I thought I should install the remastered Debian-Mate. Good to test the install anyway.
I had added a lot of files to the computer, transferred from several old backup hard drives. It took quite awhile to move all this data so I made sure with this OS install(Ubuntu) to create a separate /home partition, for the very reason that I wanted to be able to keep my files on the computer if I had to reinstall or decided to reinstall.
My plan was to boot up the live remastered DVD, access the hard drives /home/* partition as root, rename /home/* to say /backup/*, delete all the hidden config files from /home/*, then install my remaster. I have done this before doing a standard type install without formatting the large /home partition. A new /home folder was created, and all my files were left alone. Once booted into the newly installed OS, I transferred my "backup" to the new /home folders, quick and easy.
I honestly do not know where to look(logs) to identify what is causing the computer(with Ubuntu) to pause everything every 5 seconds. The problem comes and goes. I just installed the AMD microcode package. Perhaps that will be the fix for this machine. I have never seen this error on any of my older computers.
The errors with XDG have occurred on at least 5 computers now, running different DTE's. No clue what causes this and it may be unrelated to the fact that on all of them I have created remasters. In fact it may also have occurred on a 32bit notebook that I did not remaster. I will have to check that computer and see.
This XDG error could be due to the way I set up my computers, though I know other people have had the same renaming or linking of /home/??? to /home/desktop.
Would be nice to learn what causes this and how to prevent it, as I sometimes install my remasters to other peoples computers, and I do not know if the error is passed on.
I plan to do another remaster of Debian-Mate 32bit on another computer. I will try the GUI refractasnapshot on that one to see if it successfully creates a live DVD remaster, like the CLI does.
If this intermittent issue continues on this 64 bit HP laptop, I will boot up my Debian-Mate remaster, install live, the GUI of refractainstaller, and see if I can leave my data alone on the large partition of the hard drive.