{"slug": "xdg-ninja", "name": "xdg-ninja", "category": "terminal", "category_name": "Terminal and shell", "description": "", "recommenders": 3, "commenters": 3, "warners": 0, "score": 2.61, "rising": -0.98, "first": "2025-11-20", "latest": "2026-06-18", "why": "I also suggest you try xdg-ninja, which automatically scans your home directory", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 0, "compare": 0, "warn": 0}, "spark": [1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "I also suggest you try xdg-ninja, which automatically scans your home directory", "kind": "", "icon": false, "domain": null, "github_repo": "github.com/b3nj5m1n/xdg-ninja", "official_url": "https://github.com/b3nj5m1n/xdg-ninja", "pricing": "", "aliases": ["xdg-ninja"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 777444672, "item_id": 48590292, "url": "https://news.ycombinator.com/item?id=48590292", "by": "RunningDroid", "date": "2026-06-18", "version": null, "stance": "recommend", "quote": "You might like xdg-ninja", "excerpt": "You might like xdg-ninja\u2021 then, it tells you what program put which item in your $HOME and how to move it to ~/.config or $XDG_CONFIG_HOME. \u2021: https://github.com/b3nj5m1n/xdg-ninja", "context": "", "use_case": "Find dotfiles for XDG", "switched_from": "", "story": "Migrating from GNU Stow to Chezmoi"}, {"id": 766573472, "item_id": 47910842, "url": "https://news.ycombinator.com/item?id=47910842", "by": "flexagoon", "date": "2026-04-26", "version": null, "stance": "recommend", "quote": "I also suggest you try xdg-ninja, which automatically scans your home directory", "excerpt": "I usually treat an app putting stuff into $HOME with no reason to change that as a reason to not use the app. I've genuinely switched software multiple times because of the old one doing this. I also suggest you try xdg-ninja, which automatically scans your home directory and shows which of those directories you can change to a different location: https://github.com/b3nj5m1n/xdg-ninja I have a big shell config file t", "context": "", "use_case": "cleaning up home directory", "switched_from": "", "story": "My .config Ship of Theseus"}, {"id": 735929984, "item_id": 45995624, "url": "https://news.ycombinator.com/item?id=45995624", "by": "enriquto", "date": "2025-11-20", "version": null, "stance": "recommend", "quote": "You can also be an xdg ninja if you want", "excerpt": "that's great! The ~/.mozilla folder is one of the last remaining dotfiles in my home directory $ ls -a ~ . .. .bashrc .mozilla .profile .ssh bak config local pro src You can also be an xdg ninja if you want: https://github.com/b3nj5m1n/xdg-ninja Annoyingly, many programs hardcode ~/.config and ~/.local (instead of using XDG_CONFIG_HOME etc) and try to recreate them every time they run. This is a good indication to st", "context": "", "use_case": "cleaning up home dotfiles", "switched_from": "", "story": "Firefox 147 Will Support the XDG Base Directory Specification"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["find dotfiles for xdg", "cleaning up home directory", "cleaning up home dotfiles"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=48588413", "title": "Migrating from GNU Stow to Chezmoi", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47886157", "title": "My .config Ship of Theseus", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45992829", "title": "Firefox 147 Will Support the XDG Base Directory Specification", "mentions": 1}], "sentiment_by_month": {"2025-11": {"recommend": 1}, "2025-12": {}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {"recommend": 1}, "2026-05": {}, "2026-06": {"recommend": 1}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 777444672, "item_id": 48590292, "url": "https://news.ycombinator.com/item?id=48590292", "by": "RunningDroid", "date": "2026-06-18", "version": null, "stance": "recommend", "quote": "You might like xdg-ninja", "excerpt": "You might like xdg-ninja\u2021 then, it tells you what program put which item in your $HOME and how to move it to ~/.config or $XDG_CONFIG_HOME. \u2021: https://github.com/b3nj5m1n/xdg-ninja", "context": "", "use_case": "Find dotfiles for XDG", "switched_from": "", "story": "Migrating from GNU Stow to Chezmoi"}, {"id": 766573472, "item_id": 47910842, "url": "https://news.ycombinator.com/item?id=47910842", "by": "flexagoon", "date": "2026-04-26", "version": null, "stance": "recommend", "quote": "I also suggest you try xdg-ninja, which automatically scans your home directory", "excerpt": "I usually treat an app putting stuff into $HOME with no reason to change that as a reason to not use the app. I've genuinely switched software multiple times because of the old one doing this. I also suggest you try xdg-ninja, which automatically scans your home directory and shows which of those directories you can change to a different location: https://github.com/b3nj5m1n/xdg-ninja I have a big shell config file t", "context": "", "use_case": "cleaning up home directory", "switched_from": "", "story": "My .config Ship of Theseus"}, {"id": 735929984, "item_id": 45995624, "url": "https://news.ycombinator.com/item?id=45995624", "by": "enriquto", "date": "2025-11-20", "version": null, "stance": "recommend", "quote": "You can also be an xdg ninja if you want", "excerpt": "that's great! The ~/.mozilla folder is one of the last remaining dotfiles in my home directory $ ls -a ~ . .. .bashrc .mozilla .profile .ssh bak config local pro src You can also be an xdg ninja if you want: https://github.com/b3nj5m1n/xdg-ninja Annoyingly, many programs hardcode ~/.config and ~/.local (instead of using XDG_CONFIG_HOME etc) and try to recreate them every time they run. This is a good indication to st", "context": "", "use_case": "cleaning up home dotfiles", "switched_from": "", "story": "Firefox 147 Will Support the XDG Base Directory Specification"}]}