this post was submitted on 03 Feb 2024
989 points (98.3% liked)
linuxmemes
21281 readers
494 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
Haven't used much of Linux before, can someone explain the joke?
The Windows equivilent would be instead of putting application data in the AppData folder, it throws it in Documents, My Games, or just in the home folder directly.
ah so like every fucking game and it's save files for some reason?
Better, it could be literally anywhere and there's nothing you can do about it. Also symlinks practically look like regular folders and files to most apps.
That's why i prefer to use Wine for games. Just change the symlinks in C:/users/ to somewhere sane, like .local/Games//save. Guess you could also use the variables in .config/user-dirs.dirs while creating the prefix, but i haven't tested that yet.
I haven't run into a game that does this 🤷♂️
There’s no game related dirs in your My Documents dir? Most don’t even use My Games they just dump directly into My Documents. I guarantee most game devs don’t understand the difference between local and roaming either. They just put shit randomly wherever they want
Oh, on Windows, sure. Not on Linux though.
Linux is just as bad. You actually got anything in $XDG_CONFIG_HOME or is your /home just a dot file dumping ground?
lol, this almost reads as a personal attack.
I have almost nothing in my home directory, no. Been applying this to clean it up even further. I want my chezmoi dotfiles repo to be clean. Especially not games' files since I run Steam through flatpak. It does put things in ~/.var but at least it's collected to one point.
Not really a problem of "Linux" or "Windows", but more of "developers".
Sorry. Definitely not meant as one lol
That last line is 100% true
😊🤝
... or just imagine all of it being thrown on the Desktop (the bare user directory is rarely visited in Windows)
Hahahaha oh man I know exactly what you're talking about too 😭 hate when they do that
Most software on Linux is configured to place their config files in ~/.config. Some others, like the ones in the pic, just dump them directly into your home folder.
Yes.
Many applications have configuration files. Historically these files were placed in your home directory aka "on the floor". The variable mentioned defines a directory where these files should go. Many applications ignore this.
A non-linux version of this meme might go,
"Here is the pizza you ordered"
"Great, could you put it in my hands"
"Lol (throws pizza on floor)"
$XDG_CONFIG_HOME is an environment variable that programs can (and should) read to determine the location for storing dotfiles (config files, kind of). Not reading (or caring about) the environment variable, and not adhering to the default of /home/username/.config/ results in them ending up in the home directory.
So in linux you have an extra directory just for configuration files/directories wich often start with a . (Dot) (that's why they are calld dot files). But some applications dont use that directory but rather just dump them into your user directory, wich causes it to get cluttered with files wich should be put into the ".config" directory