platformdirs
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". (by platformdirs)
xdg-ninja
A shell script which checks your $HOME for unwanted files and directories. (by b3nj5m1n)
platformdirs | xdg-ninja | |
---|---|---|
3 | 20 | |
494 | 2,175 | |
2.6% | - | |
8.1 | 8.6 | |
3 days ago | 11 days ago | |
Python | Haskell | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
platformdirs
Posts with mentions or reviews of platformdirs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-06.
-
GrandTourer – a CLI tool for easily launching applications on macOS
Also, I saw that you're trying to find the app locations yourself. You may wanna use this instead: https://github.com/platformdirs/platformdirs
-
Use the XDG Base Directory Specification
Start with pythons “projectdirs”, which refuses to allow mac systems to use XDG or at least have that option.
https://github.com/platformdirs/platformdirs/issues/4
-
Help with yt-dlp config setup (mac)
I did my own research on what XDG_CONFIG_HOME means within macOS when setting up yt-dlp for macOS 13 (Ventura) but I couldn't find a very definitive answer. I found a thread on GitHub where someone says "Apple does not follow the XDG spec, so at best what I've seen is people roughly mapping it..." and that goes down too deep a rabbit hole for me.
xdg-ninja
Posts with mentions or reviews of xdg-ninja.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-16.
-
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
-
Using the Same Arch Linux Installation for a Decade
Stuff like [xdg-ninja](https://github.com/b3nj5m1n/xdg-ninja) helps but... at one point my home is still a mess.
-
Will dotfiles in home directory (~) be loaded automatically
For the ones that adhere to XDG specs, there are tools that can help transition to using these XDG directories and avoid breaking programs - like XDG Ninja - but it's still a sort of manual process that doesn't cover all dotfiles and applications.
-
Dotfile Madness
There are shell scripts like xdg-ninja that can help with this:
https://github.com/b3nj5m1n/xdg-ninja
-
Clean your home folder ! discover XDG
View on GitHub
What are some alternatives?
When comparing platformdirs and xdg-ninja you can also consider the following projects:
boxxy - boxxy puts bad Linux applications in a box with only their files.
plugin-xdg - Setup xdg environment on Linux.