Rendered at 22:42:28 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
Chu4eeno 16 minutes ago [-]
> XDG Base Directory Specification has been a standard for organizing application data files under Linux for a long time. Unfortunately, wxWidgets has been around for even longer, and when support for configuration files was added to it back in 1997, the usual convention was still to put these so-called “dot files” directly in the user home directory
Who do they think defined this standard, if not the people who had "been around even longer".
IIRC KDE was first with cleaning up the clutter by hiding things in ~/.kde or something like that, but there's a ton of config/bookmarks/menus/data/caches you want to everything to use, so it was a given that there would be some standardization.
dbalatero 15 minutes ago [-]
Hopefully the migration function doesn't silently move files. If you have dotfile symlinks, those would need updating. Also it would be surprising if config files were in a new place one day.
froh 2 hours ago [-]
is this aspect also cross platform? like supporting Windows %APPDATA% and %LOCALAPPDATA% ?
likewise for ~/.cache ($XDG_CACHE_HOME). does wxWindows provide a cross platform abstraction for the cache dir, too?
bt1a 51 minutes ago [-]
Genuinely curious- what would the cross platform compatibility help with? Ease of migration? I don't remember configuring many win programs with notation like such, just the PATH
mpyne 9 minutes ago [-]
There are Qt analogs for just this thing (QStandardPaths, https://doc.qt.io/qt-6/qstandardpaths.html) to drastically simplify what can be a quite annoying task if you're trying to write GUI software that respects the OS standard file locations across multiple desktops.
This is a different problem than migrating file locations in the same OS, as what the linked blog post is about, but it is a related issue for apps intending to be multi-platform.
Who do they think defined this standard, if not the people who had "been around even longer".
IIRC KDE was first with cleaning up the clutter by hiding things in ~/.kde or something like that, but there's a ton of config/bookmarks/menus/data/caches you want to everything to use, so it was a given that there would be some standardization.
likewise for ~/.cache ($XDG_CACHE_HOME). does wxWindows provide a cross platform abstraction for the cache dir, too?
This is a different problem than migrating file locations in the same OS, as what the linked blog post is about, but it is a related issue for apps intending to be multi-platform.