Re: How strictly should the XDG Base Directory spec be adhered to?
Reply #6 –
Interesting thread. (to me )
I like to keep the data away from the dotfiles. For ease of backups.
My setup
I have a directory ~/Files. It's a separate partition, it is mounted there in fstab.
Directories such as Desktop, Downloads, Pictures etc etc are all under ~/Files and setup in KDE as such.
I make a daily incremental backup of ~/ with rsnapshot-timestamp. 7 days / 4 weeks /forever months
I keep important stuff in various ~/Files/Nextcloud/* directories so that gets backed up on my nextcloud server.
I further complicate things by having a folder ~/Files/.dotfiles and big stuff I'm not so fussed about losing, from ~/.local/share , is actually stored there then linked back to ~/.local/share (lutris, wine prefixes, emulator stuff etc).
~/.cache is it's own ram tmpfs
tmpfs /home/user/.cache tmpfs noatime,nodev,nosuid,size=28G