Linux is confusing for non IT people looking for program settings. It might be in share, local or config or hidden somewhere. On W 10 I just look under ProgramData. Maybe W11 is different. But Linux application devs need to agree on a single place. As users sometimes need to access it for plugins and resources.
linuxmemes
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, <loves/tolerates/hates> systemd, 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.
You mean the 2 ProgramData folders? Altho who the hell puts config stuff there? Anyways, the 2 official settings apps, the 3 AppData folders and then the registry for every little thing Microsoft doesn't want you to edit for whatever reason? And then the countless 3rd party config apps for every device aiming to make this process easier? Yea I totally don't Google where to toggle stuff on windows as step #1, noo... And W11 just has a slightly better 2nd official settings app, so sadly not too different.
Also who the hell puts config stuff on Linux into /local or /share? It was always in ~/.config (personal) or /etc (system wide) from my experience.
Don't forget that appdata nowadays has 3 sub folders, local, locallow, and roaming.
Also there's C:\programdata
Also some programs just store it in the user folder, the documents folder, or games/ my games folder if they are a game.
And half the time you'll find it in the registry too. Linux has proven quite well that an OS doesn't need a registry.
Oh, and what's with ProgramData and AppData being two completely different things. I understand the difference between the two directories, but there is no difference between a program and an app. Everywhere else it's Machine/User.
Linux has proven quite well that an OS doesn't need a registry.
Gnomes dconf would like to have a word with you. It's really interesting how the Gnome people seem to get rid of every useful feature as it might confuse the user or be complex, but on the other hand add this registry-like anti-feature to make the system just as unmanageable as Windows.
What the fuck is local low? I don't understand. Local is Billy G's jizz... I get that... And Roaming is for poor plebs. But why LocalLow? Is it like cache? But I have seens games saving their save files there. I don't understand
Local is for regular apps, LocalLow is for depressed apps and Roaming is for high apps looking for munchies.
I feel mildly aroused when I see a program or a game that collects everything in it's folder and can be used from a USB drive. Some paid, industrial grade software leaves so much traces and depends on so much different hidden files and keys it's making me sick.
windows is simple, all configs are keys accesible via reddit
[Deleted]
^half^ ^the^ ^time^ ^its^ ^been^ ^deleted^ ^because^ ^Spez^ ^is^ ^a^ ^greedy^ ^pigboy^
Despite what developers do at the end of the day, there are conventions for application directories on every OS.
I just use the directories
crate in Rust.
Yeah... It's an awesome crate. I use it for my app too.
🦀
This is major league bullshit tho.
On linux, where the config file for a specific program is, can vary annoyingly greatly depending on what distro you're using and sometimes the same config file exists in several places and somehow certain parts of the configuration parameters get taken from several of those files, so if you think you've found what the actual config file should be and remove the duplicates, suddenly the program uses defaults or doesn't even work at all.
Yup. Is it in /usr /var /etc or /opt? Maybe in some hidden home folder? Sure, you can Google it, but there's no guarantee you'll find the right answer.
There are only a handful of places Windows sticks stuff, and it's pretty predictable.
What system wide software stores their configs in anything but /etc? Data, sure, but not configs.
nginx at the very least, but there's way more
Nginx’ default config location is
/etc/nginx/
Yeah I missed the "anything but", sorry
You should never be expected to edit anything in /usr, /opt or /var. That's highly unusual. For which software did you have to do this?
Brother scanner utilities: /opt
Pretty sure I had to change something in /usr
once, but I forgot what.
Now, /var
would be very unusual.
But most of the time, all the configuration files happen to be somewhere in /etc
.
Generally /usr should be managed by the package manager, /etc is for global custom configs and the user home is user specific.
/var shouldn't really be config, mostly logs or webservers for some reason.
Disagree. Take game saves on windows. They can be in appdata\local, appdata\roaming, documents\company-name, documents\savedgames\company-name I'm sure there are more.
Nah. 3 places.
- Appdata subfolder
- Documents
- Game installation folder
Savegame folder is then placed either ina folder with game name or studio name, so easy to check all these locations within minutes.
Let's not talk about rpgmaker games tho. I've seen them do some wacky shit with gamesaves.
Edit: To make my point clearer, I disagree with person above me about their disagreement. Savegames on windows are predictable as hell. Thanks to person below for pointing out I didn't convey. :<
Yes but appdata subfolder is local, locallow or roaming so the poster above you is still correct.
XDG Base Directory & XDG User Directories will help you immensely. At least, for the programs that follow the XDG specs. Also, check out XDG Ninja.
They don't have config files in Windows. Apps just throw things everywhere without rhyme of reason
The setting you're looking for could be in %appdata%
It could be in %localappdata%
It could be in C:\ProgramData
.
It could be in the registry. It could be in HKLM. It could be in HKCU.
It could be in any of the userdirs.
It could be in the application's directory.
HA! Joke's on you, it was an envvar all along!
True story.
This is the real answer.
This is the "appdata" folder, this is where all the application's data goes.
So whats the "Programs" folder then?
This is also where the application's data and files go.
But I thought thats the "Programs x86" folder.
This is also where the application's data and files go.
Ok whats "Program Files" then?
This is also where the application's data and files go.
So my config file is in either one if those 4?
No thats in the "Documents" folder, obviously.
Windows program data file structure has always been the wild west.
Don't forget %USERPROFILE%/AppData/Local/Programs
, where some programs get installed to because the developer doesn't want to make it a system wide installation.
System wide config for an application? Lets put that under C:\users*?????
Yeah, the Documents config file/dir pisses me off the most as well!
Game save data? No, my documents.
Application config files? Again, my documents.
Temporary documents I don't care about keeping? Downloads, duh.
My actual documents? Desktop.
My desktop? Turned icons off because it was too messy.
Just another day using Windows...
Don’t forget about the hidden ProgramData directory at the root of the file system. Ableton Live likes to install there for some ungodly reason.
Always remember, C:\ProgramData
is the eqivalent of /etc
in Linux. If they don't know where to put/hide shit, but needs admin priviliges to edit and users can only read, you put it in C:\ProgramData
.
I think programdata is closer to /usr/lib or maybe /var/lib.
You almost never see config files in programdata.
Selects separate drive for install
Adobe: "Imma, pretend I didn't see that"
Or in /home/username/.applicationname/ if they want to be annoying.
Or in /etc/, or in /var/ I've seen all of that, sometimes differing between distributions for maximum annoyance. So I don't think we get to act smug in I'm this particular case.
This should be considered a war crime, and doubly so when they don't even have the decency to prefix it with a dot (looking at you Golang). It's my home folder, not a dumping grounds for random trash.
and snap
fuck snap
What does snap do to your home directory? I haven't touched Ubuntu in a very long time