b3nj5m1n/xdg-ninja
View on GitHub ↗ ★ 3,410 Haskell
A shell script which checks your $HOME for unwanted files and directories.
14 mentions on Hacker News by 13 people: 2 stories, 12 comments · first 2022-06-07 · latest 2026-06-18
20082026
-
…what program put which item in your $HOME and how to move it to ~/.config or $XDG_CONFIG_HOME. ‡: https://github.com/b3nj5m1n/xdg-ninja
comment by RunningDroid · 2026-06-18 · in Migrating from GNU Stow to Chezmoi -
…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 that sets proper locations for all sort of programs I use:…
comment by flexagoon · 2026-04-26 · in My .config Ship of Theseus -
….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…
comment by enriquto · 2025-11-20 · in Firefox 147 Will Support the XDG Base Directory Specification -
You'd be interested in xdg-ninja: https://github.com/b3nj5m1n/xdg-ninja Like others said, fighting the clean HOME fight is just draining and futile in the end. This script helps you identify low hanging fruit, though, where you can change…
comment by retrochameleon · 2024-12-21 · in Grayjay Desktop App -
…it will tell you whether it's possible to move it to the appropriate location, and how to do it. 1. https://github.com/b3nj5m1n/xdg-ninja
comment by demomode · 2024-08-28 · in Boxxy puts bad Linux applications in a box with only their files -
…programs that use hardcoded names to fail spectacularly (instead of recreating the hidden dir). [0] https://github.com/b3nj5m1n/xdg-ninja
comment by enriquto · 2024-07-22 · in Eza: A modern, maintained replacement for ls -
…It doesn't work for everything, but most applications do seem to have such an option. [0] https://github.com/b3nj5m1n/xdg-ninja
comment by shoaki · 2024-04-19 · in Tips on how to structure your home directory (2023) -
Regarding ~/.cargo (and other tools), I've had some success with following suggestions from https://github.com/b3nj5m1n/xdg-ninja
comment by junkblocker · 2023-08-18 · in $HOME, not so sweet $HOME -
https://github.com/b3nj5m1n/xdg-ninja This utility has been a lifesaver to clean up my home directory.
comment by PrayagS · 2023-03-24 · in Use the XDG Base Directory Specification -
…theres xdg-ninja [1] which assists you to make all your applications to follow the XDG specs. [1] https://github.com/b3nj5m1n/xdg-ninja
comment by eliaspro · 2023-03-24 · in Use the XDG Base Directory Specification -
…was cooler I just let the application do it's thing so at least is somewhat predictable. [0]: https://github.com/b3nj5m1n/xdg-ninja [1]: https://github.com/DoodlesEpic/Dotfiles/blob/main/.profile
comment by doodlesdev · 2023-02-10 · in Show HN: boxxy – Control where Linux programs put files, without symlinks -
There are shell scripts like xdg-ninja that can help with this: https://github.com/b3nj5m1n/xdg-ninja
comment by wyclif · 2022-10-24 · in Dotfile madness (2019)