Huzzah!
This is super nice. Still a few left out but one less is good. Anyone looking to clean up their home directory can use xdj ninja .
This looks useful, thanks
When
xdg-ninjaencounters a file or directory it knows about, it will tell you whether it’s possible to move it to the appropriate location, and how to do it.The configurations are from the arch wiki page on XDG_BASE_DIR, antidot (thanks to Scr0nch for writing a conversion tool), and crowdsourced by other users.
From the bug report:
[…] will require moving some config & data files from
~/.phoenixto probably$XDG_CONFIG_HOME/phoenixand […]According to Wikipedia, the browser was already renamed to “Firefox” when that bug report was opened, but still wild to see that even back then, they already had some technical debt for the name of that directory.
Unfortunate that they did not go straight from
~/.phoenixto$XDG_CONFIG_HOME/mozilla, but hard to say, if that was as obvious of a choice back then…Though, it looks like it won’t auto-migrate. So it’ll stay directly in your home dir unless you reinstall or move it yourself.
I was wondering about that, ty for the link.
Wow! Now that is something that’s nice to see!
Instead of “we’ve inserted AI into your AI so that you can run more AI while you’re running AI”.
Heck yes!! One of three remaining dotfiles in my
~(the other ones are.sshand.XCompose, I suspect I can get rid of the latter nowadays too). Can’t wait for this to land in librewolf.Depending on the input method you use, you might be able to move your
.XComposefile to~/.config/X11/xcompose. Don’t let theX11in there confuse you, I am using this with fcitx5 under Wayland.I tried this a couple times already: once when initially moving most of my stuff to XDG, the second a couple years ago. Both times most apps followed it, but there were some that didn’t (don’t remember the details - maybe it was GTK related). I didn’t bother to investigate more, since it seemed like a chore. I guess I’ll try again when I get some free time.
Finally!
To be honest, I don’t know why this was an issue at all. I speak for myself, when I say it never actually bothered me much, as long as it is hidden and in my home directory. I will change directory to .config/firefox (or whatever is the new default), but I don’t know if that makes a difference at all.
It’s not the biggest pain in the world, but having all state and config in predictable folders is wonderful for backups. You don’t have to copy each random dotfile in your home directory, you just have a well-defined folder and can back up everything at once.
Yeah, I guess that’s a good point. I do my (with custom scripts) backup and have to add additional directories like Firefox profile manually to the list. I guess breaking up the cache and temporary files from the configuration would be a nice bonus. I didn’t think of this before posting my reply.
+1 I changed my mind.






