this post was submitted on 30 Mar 2025
150 points (97.5% liked)
Linux
52696 readers
437 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Where app data is stored.
~/.local
~/.config
~/.var
~/.appname
Sometimes more than one place for the same program
Pick one and stop cluttering my home directory
Yea I like how a lot have moved to using .config but mozilla just moved out of there and now has a .mozilla folder outside of it.. wtf... It is insanely sad.
I have actually moved my entire "user home folder".. folders out of there just because it is so ugly and unorganized. I now use /home/user/userfolders/.. all my stuff like documents / videos etc in here
This would also be nice for atomic distros, application space and system space could be separated in more cases.
This would be convenient indeed, but I've learned to be indifferent about it as long as the manual or readme provides helpful and succinct information.
I have good news and bad news:
A specification already exists. https://specifications.freedesktop.org/basedir-spec/latest/
good luck winning any of these refusers over https://wiki.archlinux.org/title/XDG_Base_Directory#Hardcoded
it's pretty bad. steam for example has both
~/.steam and
~/.local/share/Steam
for some reason. I'm just happy I moved to an impermanent setup for my PC, so I don't need to worry something I temporarily install is going to clutter my home directory with garbage
that .steam is a bunch of symlinks to the .local one.. which makes it even worse. they have also .steampid and .steampath.
and even worse a bunch of games are starting to add them there too.
Factorio puts game saves in ~/.factorio for some reason...
damn, of all the people you'd think those guys would actually have used the .local or .config =[
I have 73 dot files in my home directory lmao