MonkderDritte

joined 7 months ago
[–] MonkderDritte@feddit.de 5 points 4 months ago

There's the difference between individual knowledge (company training) and code licenses though.

[–] MonkderDritte@feddit.de 1 points 4 months ago

Could you send some evidence

No i can't. All i know is that there was some uproar about this a week ago.

[–] MonkderDritte@feddit.de 10 points 4 months ago* (last edited 4 months ago)

Optimizing your system for space is usually wasted effort in Linux, this is not Windows. To get what uses all the space, there's plenty of storage analyzing tools like Baobab, qdirstat, etc.

[–] MonkderDritte@feddit.de 7 points 4 months ago (1 children)
  • It’s an attempt to replace cross site tracking methods, which are terrible

Doesn't work with total cookie protection anyway.

[–] MonkderDritte@feddit.de 1 points 4 months ago

You can of course not give users a choice. And a lot of applications do their own thing, having their own variables like GOPATH or a cli option like --config or some way to do that in a config file like Idea IDEs. But implementing XDG from start is miles simpler for all parties, it's good practice to have your paths and variables somewhat organized in code anyway.

[–] MonkderDritte@feddit.de 4 points 4 months ago* (last edited 4 months ago)

In this case it would be XDG_CONFIG_HOME=/home/config. That simple.

[–] MonkderDritte@feddit.de 8 points 4 months ago* (last edited 4 months ago) (3 children)

This standard makes your software's paths user-configurable, giving users a choice.

[–] MonkderDritte@feddit.de 12 points 4 months ago (1 children)

And i wish there was a separate XDG_LOG_HOME or $HOME/.local/log, with logrotate preconfigured to look there.

[–] MonkderDritte@feddit.de 7 points 4 months ago* (last edited 4 months ago) (1 children)

What language? Python has PyXDG.

In shell it's simply

XDG_DATA_HOME="${XDG_DATA_HOME:-"$HOME"/.local/share}"
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-"$HOME"/.config}"
etc.
[–] MonkderDritte@feddit.de 22 points 4 months ago* (last edited 4 months ago)

Where did i read this... basically, the .file being hidden being a bug in the early unix filesystem, which got misused to hide configuration files.

Offenders despite XDG-variables set and with no workaround:

  • .android: hardcoded in adb and i guess something in mtp too
  • .pki: some tool/library Firefox and Chromium sometimes use.
  • .steam: yes, that

Btw, https://wiki.archlinux.org/title/XDG_Base_Directory

[–] MonkderDritte@feddit.de 17 points 4 months ago (1 children)

Yeah, why would you do sports in death valley?

[–] MonkderDritte@feddit.de 6 points 4 months ago* (last edited 4 months ago)

Lol no, that statement is way too comprehensible for Trump.

view more: ‹ prev next ›