- cross-posted to:
- programming@programming.dev
I just write my config files directly to random unused blocks on /dev/sda, filesystems are overrated.
I absolutely despise the following directories: Documents, Music, Pictures, Public, Templates, Videos. Why? Because applications randomly dump stuff into these directories and fill them with junk files. I don't want any application putting anything into directories I actually use, unless I explicitly tell them to. It is not possible to keep your files organized if applications randomly dump trash files into them.
Also if the normal invocation of your program produces more than 3k lines of stdout, sanitize it and default to a file.
I hate it when an application puts its configuration data in its own dotfile under $HOME instead in ~/.config. Also hate it when caches are stored in ~/.config, because then I have to manually tag those subdirectories for exclusion before doing a backup.
Tangentially related: I recently learned that there are tools for handling dotfiles such as chezmoi and yadm. I would suppose that after spending some time on backing up the dotfiles that matter one can purge the remainders without much issue. I also remember some tool that was made for the purpose of cleaning $HOME, but can not recall its name (if anyone knows please let me know).
I'd like to set nautilus to show hidden files, but I can't stand the amount of "trash" there's in home
Everyone is thinking "my app is the best, it totally deserves a ~/.myappisthebest directory"
Here is nice help for python software to determine XDG directories (and more): https://pyxdg.readthedocs.io/en/latest/basedirectory.html
PyXDG contains implementations of freedesktop.org standards in python.