Thread 105828380 - /g/ [Archived: 445 hours ago]

Anonymous
7/7/2025, 6:40:33 PM No.105828380
qrwxxchc8vz41
qrwxxchc8vz41
md5: f0372d0d54406e82c8c26625b74f5405🔍
Stop shitting up my home directory.

~/.themes
~/.icons
~/.fonts


They belong in /usr/share/

Please respect the user and there will be no problem.
Replies: >>105828399 >>105828408 >>105828657 >>105828874 >>105828959 >>105829016 >>105829074 >>105829139 >>105829193 >>105829229 >>105830107 >>105830430 >>105831178 >>105833088 >>105838436 >>105838536 >>105839164 >>105840623
Anonymous
7/7/2025, 6:41:09 PM No.105828389
use case for a clean home directory?
Replies: >>105830091
Anonymous
7/7/2025, 6:42:09 PM No.105828399
>>105828380 (OP)
Well, if it was your home directory, wouldn't you be in charge of it?
Anonymous
7/7/2025, 6:43:02 PM No.105828408
1703269160055871
1703269160055871
md5: 53b13de3df7a9dc7e8def2ee78aac1c2🔍
>>105828380 (OP)
These guys should be using $XDG_CONFIG_HOME by now
Replies: >>105828874 >>105829195 >>105834879 >>105840361
Anonymous
7/7/2025, 7:05:52 PM No.105828657
>>105828380 (OP)
I have capitulated long ago and use ~/personal as the root of my personal shit.
Replies: >>105833191
Anonymous
7/7/2025, 7:24:57 PM No.105828874
>>105828380 (OP)
>>105828408
I wonder if it's possible to fix this with mount namespaces.
Anonymous
7/7/2025, 7:33:05 PM No.105828959
file
file
md5: 1d40c1ff152f86106d3023ee8010fbd1🔍
>>105828380 (OP)
>linux
deprecated
caжe
7/7/2025, 7:38:06 PM No.105829016
>>105828380 (OP)
4chan_op_add_attachment($this->thread, "tranime.jpg");
stop shitting up my board
Anonymous
7/7/2025, 7:45:13 PM No.105829074
>>105828380 (OP)
>config files not in .config
this make me seethe so god damn much
Anonymous
7/7/2025, 7:55:45 PM No.105829139
>>105828380 (OP)
Like
Anonymous
7/7/2025, 8:01:50 PM No.105829193
>>105828380 (OP)
Minecraft is responsible for this. That fat retard was the first major dev to treat %appdata% as a fucking install directory

Windows forced devs to start scattering their files around to avoid dealing with permissions bullshit too

Yes you are talking about linux, a tiny minority of users so paradigms are driven by movements in real operating systems like this
Replies: >>105840391
Anonymous
7/7/2025, 8:01:54 PM No.105829195
>>105828408
>use XDG variable in my code
>user doesn't have them initialized
>have to spend all day reading arguments from Unix users about what should go where just to figure out what path to fallback to
not happy
Replies: >>105832536 >>105836123
Anonymous
7/7/2025, 8:06:12 PM No.105829229
>>105828380 (OP)
move them yourself
its linux, retard. you have full control, if you don't like default behavior change it.

if you don't know how to compile stuff from source go learn

i store that stuff in /etc/appearance because i'm a troglodyte.
Replies: >>105830896
Anonymous
7/7/2025, 9:25:22 PM No.105829979
>xhe doesn't use impermanence
Anonymous
7/7/2025, 9:36:52 PM No.105830091
>>105828389
lamest me this board had ever produced
worse than le install gentoo
Replies: >>105830466
Anonymous
7/7/2025, 9:38:39 PM No.105830107
>>105828380 (OP)
are you retarded? i like this setup because i do a separate partition, sometimes even a different hard drive for my home folder
Anonymous
7/7/2025, 10:12:11 PM No.105830430
>>105828380 (OP)
nix solves this problem
Anonymous
7/7/2025, 10:15:05 PM No.105830466
>>105830091
> lamest me this

SAAAAARRRRRRRRR
Replies: >>105830523
Anonymous
7/7/2025, 10:19:54 PM No.105830523
1719097688977267
1719097688977267
md5: 4df1305ffbc0863b0794eba406b9a1ad🔍
>>105830466
it's over for me
sir... please... redeem...
Anonymous
7/7/2025, 10:29:59 PM No.105830646
1728696278510073
1728696278510073
md5: 5f268d48bf9e665db21be739cb30adef🔍
Okay this is an interesting topic. Isn't the old way that every application creates a ~/.application_name directory? Inside are configs, and other data related to this one application. Now the modern way is for every application to put configs in ~/.config and other application data into ~/.local/share.

Can someone explain this to me? Wouldn't it be smarter to keep files from one application in one directory, instead of all configs in one directory and all other application data in another? Because I sometimes want to get rid of all the data one specific application created, e.g. when uninstalling an application. In the modern way, I have to search multiple places to get rid of this. What's the advantage of this design? The only advantage I see is, that it's easier to delete all configs of every program, but keep the application data, but who the fuck would every do this?
Replies: >>105830710 >>105831483
Anonymous
7/7/2025, 10:36:45 PM No.105830710
>>105830646
It makes it easier to do stuff like mounting ~/.local/share on a different drive since share directories can often take up a lot of space
Replies: >>105830838
Anonymous
7/7/2025, 10:48:25 PM No.105830838
>>105830710
good point actually
Anonymous
7/7/2025, 10:55:17 PM No.105830896
>>105829229
I have never seen someone more clearly admit that they have too much time on their hands.
Anonymous
7/7/2025, 11:25:28 PM No.105831178
file
file
md5: f5c643462b5e717b3e5b019c0d5cc1a3🔍
>>105828380 (OP)
>Documents
Replies: >>105840410
Anonymous
7/8/2025, 12:01:30 AM No.105831483
>>105830646
>Isn't the old way that every application creates a ~/.application_name directory?

No the old way is that programs put their various stuff in all the various directories meant for said stuff, like /usr/bin, /usr/lib, /usr/include, /usr/share, etc. That's why those directories are there.
Replies: >>105831502
Anonymous
7/8/2025, 12:03:22 AM No.105831502
>>105831483
Actually first it was /bin, /lib, etc, then they put it all in /usr, then it all went to /usr/local, then moved into /home/username, now shit just shits wherever.
Anonymous
7/8/2025, 2:14:29 AM No.105832536
cat stare
cat stare
md5: 68c05506a18aebbf22e8a94beff72cc2🔍
>>105829195
>$XDG_CONFIG_HOME
If that fails
>$HOME/.config/
If that fails
>/tmp/, shit out a million racial epithets in stderr
Case closed, glad to be of help
Replies: >>105840695
Anonymous
7/8/2025, 3:39:33 AM No.105833088
>>105828380 (OP)
Just use NixOS and everything is in /nix/store and your dotfiles can be handled via home manager
Replies: >>105838730 >>105839496
Anonymous
7/8/2025, 3:51:26 AM No.105833191
>>105828657
for me it's ~/files
Replies: >>105834899
Anonymous
7/8/2025, 8:05:47 AM No.105834879
>>105828408
>Sorrry, supporting yet another arbitrary standard for little gain is not something we plan to do. Closing.
Imagine writing software such that the location of a file cannot be trivially changed.
Anonymous
7/8/2025, 8:08:42 AM No.105834899
>>105833191
>a directory for files
>in a FILEsystem tree
Retard alert. I bet if you were programming, you'd be naming variables as data.
Replies: >>105836964
Anonymous
7/8/2025, 11:35:31 AM No.105836123
>>105829195
that is a user problem, they should be autistic enough to fix that by themselves anyways
Anonymous
7/8/2025, 2:01:59 PM No.105836964
>>105834899
this is where the persistent files go.
The rest of the directory is used for quick access symlinks and temporaries.
Anonymous
7/8/2025, 5:24:26 PM No.105838436
>>105828380 (OP)
>~/.
they're hidden, stop obbessing over insignifcant details and do actual work
Anonymous
7/8/2025, 5:30:22 PM No.105838497
1751399159513532
1751399159513532
md5: b974134f7480cc8a328ee707f46db47c🔍
I didn't know you were supposed to put your bins in ~/.local/bin and it's supposed to be in the default path (it's not)
Anonymous
7/8/2025, 5:33:45 PM No.105838536
>>105828380 (OP)
Use case for XDG Base Specification?
Anonymous
7/8/2025, 5:50:41 PM No.105838730
>>105833088
Additionally, you can have tmpfs as / so that any random shitty files that are created are removed if you reboot.
Replies: >>105839496
Anonymous
7/8/2025, 6:05:26 PM No.105838932
I never understood this mindset of spreading one application across many different directories. Please put everything in one directory. I don't care about conventions, I want to be able to rmdir -f a directory to completely remove something.
Replies: >>105838947
Anonymous
7/8/2025, 6:06:32 PM No.105838947
>>105838932
or rm -rf
whatever, I don't spend time in linux
Anonymous
7/8/2025, 6:29:11 PM No.105839164
>>105828380 (OP)
Happens in Windows too, fking hell
>.cache
>.conda
>.config
Anonymous
7/8/2025, 6:36:24 PM No.105839233
use qubes and flatpaks
Anonymous
7/8/2025, 7:01:01 PM No.105839496
1691955645430283
1691955645430283
md5: 7f6252108566add707a914cf42ac677f🔍
>>105833088
>>105838730
this is what i do, it's extremely enlightening and whenever i want to "clean up" my system i just reboot
Anonymous
7/8/2025, 8:33:22 PM No.105840361
>>105828408
>XDG
sorry, I use wayland, not X, so I don't have X* variables or packages
Anonymous
7/8/2025, 8:35:13 PM No.105840391
>>105829193
>Windows forced devs to start scattering their files around to avoid dealing with permissions bullshit too
By now windows should have gotten a "C:\Users\Anon\Program Files\" directory to avoid that bullshit
I wonder why microsoft haven't added it yet
Anonymous
7/8/2025, 8:37:22 PM No.105840410
1455269766992
1455269766992
md5: 4d2f0e1a4d1d0f239ea575b035f360ce🔍
>>105831178
>game puts save and config files in My Documents
bitch those are MY DOCUMENTS
not your scratchpad
Anonymous
7/8/2025, 8:58:53 PM No.105840623
>>105828380 (OP)
You have to start containerizing everything like you're using Fedora Silverblue or coreos and just have "home" be some podman volume. It's the only way to be sure sadly.
Anonymous
7/8/2025, 9:06:11 PM No.105840695
>>105832536
I default to /etc as the ultimate fallback, desu.

my order on GNU + Leenucks:

$CONFIGURATION_DIRECTORY <- set by systemd when using
[Service]
ConfigurationDirectory=appname


$XDG_CONFIG_HOME <- set by most PAM/DM's in 2025
$HOME/.config <- lol, lmao
/etc/appname <- basically same shit systemd would create

for windows, I do
%APPNAME_HOME%
%AppData% <- should be set, no reason to fallback on %UserProfile%\AppData\App imo.
C:\ProgramData\AppName