this post was submitted on 28 May 2025
1887 points (98.5% liked)

memes

16673 readers
2793 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] qqq@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

For user specific files a lot of modern programs try to adhere to https://specifications.freedesktop.org/basedir-spec/latest/. You should set those environmental variables and check there first.

For system level.. it's definitely more complicated. I check /etc first and then then /usr dirs. If you're using your system package manager there is generally a way to query it for that information, but it's typically CLI based.

Or just use our lord and savior NixOS and configure everything in a single directory