Live data from Hacker News

Use the XDG Base Directory Specification

xdgbasedirectoryspecification.com

211–214 of 214 posts

Re: Use the XDG Base Directory Specification

#211
post #95

Earlier quoted context omitted.

> I mean, I've lived with XDG messing up where my config files are for several years Why don't you set your XDG vars to where you want to put them then? What's your alternative? Force everyone to follow your preference instead of having it configurable?

> Why don't you set your XDG vars to where you want to put them then? I hear that argument often. When a program uses $XDG_CONFIG_HOME/tool/ for its config files, to what value should I set XDG_CONFIG_HOME to get the old behavior where it puts its config in $HOME/.tool/?

That's an interesting question, and I don't know the answer. A Google search and ChatGPT request provide no answers, so this seems like an uncommon request. It seems like there ought to be a way to achieve this reasonable request though.

Possibly setting it to $HOME would make all/most programs assume that you wanted it to live in $HOME/.tool rather than $HOME/tool, but I'm guessing. I don't know if that's the standard.

Re: Use the XDG Base Directory Specification

#212
post #95

Earlier quoted context omitted.

> Why don't you set your XDG vars to where you want to put them then? I hear that argument often. When a program uses $XDG_CONFIG_HOME/tool/ for its config files, to what value should I set XDG_CONFIG_HOME to get the old behavior where it puts its config in $HOME/.tool/?

That's an interesting question, and I don't know the answer. A Google search and ChatGPT request provide no answers, so this seems like an uncommon request. It seems like there ought to be a way to achieve this reasonable request though. Possibly setting it to $HOME would make all/most programs assume that you wanted it to live in $HOME/.tool rather than $HOME/tool, but I'm guessing. I don't know if that's the standa…

I'm not sure it is so uncommon - just that there is no answer. I'm pretty convinced that a lot less people would complain about the XDG Base Directory Specification if that would be possible.

I'm one of those (though I usually do not publicly complain about it).

Re: Use the XDG Base Directory Specification

#213
post #182
post #118

Earlier quoted context omitted.

I hate it when I forget to show hidden files on mac. They had a kb shortcut for it

They still do: Shift-Command-period toggles hidden files visibility.

And then you have a french layout where it's impossible to fire this keyboard shortcut.

Re: Use the XDG Base Directory Specification

#214
post #213
post #182

Earlier quoted context omitted.

They still do: Shift-Command-period toggles hidden files visibility.

And then you have a french layout where it's impossible to fire this keyboard shortcut.

Oy. That surprised me. I am quite familiar with the notion of common keyboard shortcut that I can't get on my Norwegian keyboard. Command-(left/right) square bracket is very common, but at least that is usually associated with a menu item so I can assign a different shortcut. But now I learned that on a French keyboard, period is shift-semicolon!? Which makes me wonder: Do the French use the semicolon more often than the period? Oh well, once in a while it sucks not to be American. ;-)
Post reply on HN