News for hackers. Stuff that matters.
Re:Show HN: boxxy – Control where Linux programs put files, ... by lelandbatey on Friday February 10, 2023 @12:17AM (#34735907)
This is the world of Unix, there's very little obligation to do anything other than convention. That's technically true, just like you can write your software to ignore all signals, or write your software such that it assumes it's always run as root for your convenience. That may be more convenient for you the developer, it's true.

But those are all generally poor ways to write software, and a great way to get your users to complain. So it is with ignoring XDG.

Re:Show HN: boxxy – Control where Linux programs put files, ... by onli on Friday February 10, 2023 @03:15AM (#34736999)
To put configs in ~/.program is the convention I learned, not ~/.config/. That came later, and I see 0 reason to pick it up. It's an annoying new hierarchy which I don't even like as a user, so I certainly wouldn't follow it as a developer.
Re:Show HN: boxxy – Control where Linux programs put files, ... by superluserdo on Friday February 10, 2023 @06:41AM (#34738414)
If the programs in question implement the XDG base directory spec properly, then putting `export XDG_CONFIG_HOME=$HOME/.program` in your .profile will make them put config files in .program, not .config.
Re:Show HN: boxxy – Control where Linux programs put files, ... by onli on Friday February 10, 2023 @11:47AM (#34742131)
Charming idea :) I'm not actually that annoyed that I will set XDG_CONFIG_HOME to $HOME, but I'll keep it in mind.