News for hackers. Stuff that matters.
Re:Why the Windows Registry sucks technically (2010) by jbverschoor on Friday July 29, 2022 @09:01AM (#32276288)
Point about /etc is that it’s just one part of “configuration”.

There’s no /etc for users. That’s why we get all these dot.dirs. At least some apps use ~/.config/

Re:Why the Windows Registry sucks technically (2010) by augustk on Friday July 29, 2022 @10:27AM (#32277353)
"$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used."

https://specifications.freedesktop.org/basedir-spec/basedir-...

Re:Why the Windows Registry sucks technically (2010) by hiptobecubic on Friday July 29, 2022 @10:21AM (#32277285)
.config/ and .local/ are the de facto /etc for users, but there is the set of XDG_ environment variables that are intended to fill that role.
Re:Why the Windows Registry sucks technically (2010) by jbverschoor on Friday July 29, 2022 @04:08PM (#32281260)
Well, my git, ssh, caches of what not, almost everything is in my home directory directly. It's even worse than "My Documents"
Re:Why the Windows Registry sucks technically (2010) by viraptor on Saturday July 30, 2022 @08:20AM (#32286220)
Git uses XDG_CONFIG_HOME https://git-scm.com/docs/git-config#Files - putting the config directly in your home is just a choice.
Re:Why the Windows Registry sucks technically (2010) by jbverschoor on Sunday July 31, 2022 @02:17AM (#32293633)
It doesn’t in macOS.

It’s not a choice. It’s the default. It’s like saying it’s a choice to run mongodb without authentication.

Lastly, why should I be using XDG Desktop variables on something that don’t haveA desktop environment?

Re:Why the Windows Registry sucks technically (2010) by rad_gruchalski on Friday July 29, 2022 @07:37PM (#32282900)
„My Documents” isn’t the same as a home directory. Home directory in recent Windows versions is „C:\Users\CurrentUserName”. Or better: %homedrive%%homepath%.
Re:Why the Windows Registry sucks technically (2010) by yjftsjthsd-h on Friday July 29, 2022 @10:54AM (#32277723)
I'm pretty sure .local is the per-user /usr, and .config is /etc
Re:Why the Windows Registry sucks technically (2010) by db48x on Friday July 29, 2022 @11:45AM (#32278447)
You’re both correct; a fair number of applications put their configuration in ~/.local/share even though that wasn’t the intent.