SaaSHub helps you find the best software and product alternatives Learn more →
Xdg-ninja Alternatives
Similar projects and alternatives to xdg-ninja
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
impermanence
Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
-
-
platformdirs
A Python package for determining platform-specific directories (e.g. user data, config, cache, logs). Handles the differences between macOS, Windows, Linux/Unix, and Android so you don't have to.
-
-
-
-
-
-
-
-
-
-
xdg-ninja discussion
xdg-ninja reviews and mentions
-
My .config Ship of Theseus
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 that sets proper locations for all sort of programs I use:
https://github.com/flexagoon/dotfiles/blob/main/dot_config/f...
-
Firefox 147 Will Support the XDG Base Directory Specification
You can also be an xdg-ninja if you want to procrastinate https://github.com/b3nj5m1n/xdg-ninja
Annoyingly, many programs hardcode ~/.config (instead of using XDG_CONFIG_HOME) and try to recreate it every time they run.
- Xdg-ninja: checking your $HOME for unwanted files and directories
-
Grayjay Desktop App
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 their storage location with a simple envvar.
-
Why not export XDG variables?
As a user, these variables make my experience simpler. I'm not going to argue that these specifications should be followed by all, because I know there are many users who are committed to dying on the hill that is their cluttered home directory. However, the existence of these variables is not a deterrent to users who do not want to use the specification, as many applications will want to use your home directory anyway. If the existence of these variables made the specification strictly followed, projects like xdg-ninja (https://github.com/b3nj5m1n/xdg-ninja) would have no reason to exist.
-
$Home, Not So Sweet $Home
Regardagin cargo (and other tools), I've had some success with following suggestions from https://github.com/b3nj5m1n/xdg-ninja
-
Weird Linux benefits, anyone with a similar experience?
It's not as bad as it used to be. And ther's even software that can help you with that: https://github.com/b3nj5m1n/xdg-ninja
-
Home directory
Check out xdg-ninja
-
Use the XDG Base Directory Specification
https://github.com/b3nj5m1n/xdg-ninja
This utility has been a lifesaver to clean up my home directory.
- xdg-ninja - A shell script which checks your $HOME for unwanted files and directories
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Jun 2026
Stats
b3nj5m1n/xdg-ninja is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of xdg-ninja is Haskell.