5 ms·
If at least all new config files etc would be put in ~/.config/ et al, but there is still new dotfiles being dropped in ~. Looking at you, wget and your .hsts-
by iforgotpassword 4y ago
If at least all new config files etc would be put in ~/.config/ et al, but there is still new dotfiles being dropped in ~.
Looking at you, wget and your .hsts-something file.
- jeroenhd 4y agoI went through https://wiki.archlinux.org/title/XDG_Base_Directory#Partial https://wiki.archlinux.org/title/XDG_Base_Directory#Partial and set all the bullshit env variables in my .profile to force some programs to comply (not that it fixes everything). I've seriously considered writing a system LD_PRELOAD that catches resolved paths and redirects them to a directory of choice.
- kramerger 4y agoI like this! It the type of chaotic good we appreciate on HN ;) But I think it would be easier if you instead sent MR to offending projects
- jeroenhd 4y agoSadly, most of the software I use already has a link in the list to an issue someone made about XDG support and often developers don't care, actively choose not to respect the user's preferences (snap, for one) or don't want to change the location out of fear of breaking compatibility. Those MRs would probably become forks in practice.
- selfhoster11 4y agoGood news! This already exists as libetc[0] [0]: http://ordiluc.net/fs/libetc/ http://ordiluc.net/fs/libetc/
- jeroenhd 4y agoAmazing, I love it! Thanks for the link!