June 8, 2026
Dotfile drama hits home
Using XDG-Compliant Config Files – WxWidgets
Linux app settings are finally moving out of your home folder — and people have thoughts
TLDR: wxWidgets is finally steering new Linux app settings into the proper config folder and offers a simple way to move old ones too. Commenters split between cheering the cleanup, questioning whether it works nicely beyond Linux, and worrying apps might relocate files in surprising ways.
A tiny cleanup update from wxWidgets somehow turned into a full-on comment-section identity crisis. The basic news: apps built with this long-running software toolkit will now, by default, put new settings files in the more sensible hidden config folder instead of dumping them loose in your home directory like it’s 1997. Even juicier, developers can now use a one-line migration tool to move older settings files to the new spot too. In plain English: fewer mystery files cluttering your personal folder, and less old-school mess.
But the real spectacle was the community reaction. One camp basically said, "Cool, but does it work everywhere?" with immediate side-eye toward Windows folders like AppData and cache locations too. That sparked the classic cross-platform anxiety: Linux users want order, but developers don’t want a fix that only behaves nicely on one system. Then came the history buffs, with one commenter throwing a deliciously snarky jab at the article’s wording — essentially, who do you think made the standard in the first place? Translation: don’t talk about Linux file rules like they descended from the heavens; the same ecosystem created the chaos and the cleanup.
And then, of course, the practical worriers entered the chat. The hottest concern? Silent file moves. If an app suddenly relocates your settings without warning, what happens to shortcuts and linked files? For some, this is overdue housekeeping. For others, it’s the software equivalent of coming home and finding the furniture rearranged.
Key Points
- •wxWidgets historically used home-directory dotfiles for configuration because that was the convention when support was added in 1997.
- •Applications could already opt into XDG-compliant config paths using wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG).
- •Since wxWidgets 3.3.0, wxFileConfig creates new config files under ~/.config by default when no legacy dotfile exists.
- •Existing home-directory config files remain in use for backward compatibility, preventing current users from losing settings.
- •wxFileConfig::MigrateLocalFile() was added to move existing local config files to XDG-compliant locations, while wxCONFIG_USE_HOME can force legacy behavior.