Cleaning up the whole $HOME/<.pkgname>/ situation for individual app settings

promitheas@iusearchlinux.fyi to Linux@lemmy.ml – 34 points –

Hey guys! Is there a way for me to force apps to treat e.g. $HOME/.config/ as their default directory to look for settings? I want to clear up my home directory because its getting quite messy and I don't even have that many packages installed yet.

Also, any way that would be easy and efficient for use with git for the purpose of backing up my dotfiles.

Thanks!

27

You are viewing a single comment

https://wiki.archlinux.org/title/XDG_Base_Directory#Support, the situation is crap tbh and alot of devs refuse to even give you the option of switching to XDG standards for some reason. I started using flatpaks for most of my programs just to escape this.

I do know XDG standards are messy for devs to implement but at least have everything in .config or .local instead of spewing it across my home folder

I've seen developers complain that xdg is not a true standard and it only works on linux, which at that point I wanna start slapping people around.

I've seen this too, but as someone who's submitted patches to 5+ projects to fix the pathing, not once has it been rejected