← Home ← Back to /g/

Thread 105828380

47 posts 20 images /g/
Anonymous No.105828380 [Report] >>105828399 >>105828408 >>105828657 >>105828874 >>105828959 >>105829016 >>105829074 >>105829139 >>105829193 >>105829229 >>105830107 >>105830430 >>105831178 >>105833088 >>105838436 >>105838536 >>105839164 >>105840623
Stop shitting up my home directory.

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


They belong in /usr/share/

Please respect the user and there will be no problem.
Anonymous No.105828389 [Report] >>105830091
use case for a clean home directory?
Anonymous No.105828399 [Report]
>>105828380 (OP)
Well, if it was your home directory, wouldn't you be in charge of it?
Anonymous No.105828408 [Report] >>105828874 >>105829195 >>105834879 >>105840361
>>105828380 (OP)
These guys should be using $XDG_CONFIG_HOME by now
Anonymous No.105828657 [Report] >>105833191
>>105828380 (OP)
I have capitulated long ago and use ~/personal as the root of my personal shit.
Anonymous No.105828874 [Report]
>>105828380 (OP)
>>105828408
I wonder if it's possible to fix this with mount namespaces.
Anonymous No.105828959 [Report]
>>105828380 (OP)
>linux
deprecated
caжe No.105829016 [Report]
>>105828380 (OP)
4chan_op_add_attachment($this->thread, "tranime.jpg");
stop shitting up my board
Anonymous No.105829074 [Report]
>>105828380 (OP)
>config files not in .config
this make me seethe so god damn much
Anonymous No.105829139 [Report]
>>105828380 (OP)
Like
Anonymous No.105829193 [Report] >>105840391
>>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
Anonymous No.105829195 [Report] >>105832536 >>105836123
>>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
Anonymous No.105829229 [Report] >>105830896
>>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.
Anonymous No.105829979 [Report]
>xhe doesn't use impermanence
Anonymous No.105830091 [Report] >>105830466
>>105828389
lamest me this board had ever produced
worse than le install gentoo
Anonymous No.105830107 [Report]
>>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 No.105830430 [Report]
>>105828380 (OP)
nix solves this problem
Anonymous No.105830466 [Report] >>105830523
>>105830091
> lamest me this

SAAAAARRRRRRRRR
Anonymous No.105830523 [Report]
>>105830466
it's over for me
sir... please... redeem...
Anonymous No.105830646 [Report] >>105830710 >>105831483
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?
Anonymous No.105830710 [Report] >>105830838
>>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
Anonymous No.105830838 [Report]
>>105830710
good point actually
Anonymous No.105830896 [Report]
>>105829229
I have never seen someone more clearly admit that they have too much time on their hands.
Anonymous No.105831178 [Report] >>105840410
>>105828380 (OP)
>Documents
Anonymous No.105831483 [Report] >>105831502
>>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.
Anonymous No.105831502 [Report]
>>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 No.105832536 [Report] >>105840695
>>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
Anonymous No.105833088 [Report] >>105838730 >>105839496
>>105828380 (OP)
Just use NixOS and everything is in /nix/store and your dotfiles can be handled via home manager
Anonymous No.105833191 [Report] >>105834899
>>105828657
for me it's ~/files
Anonymous No.105834879 [Report]
>>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 No.105834899 [Report] >>105836964
>>105833191
>a directory for files
>in a FILEsystem tree
Retard alert. I bet if you were programming, you'd be naming variables as data.
Anonymous No.105836123 [Report]
>>105829195
that is a user problem, they should be autistic enough to fix that by themselves anyways
Anonymous No.105836964 [Report]
>>105834899
this is where the persistent files go.
The rest of the directory is used for quick access symlinks and temporaries.
Anonymous No.105838436 [Report]
>>105828380 (OP)
>~/.
they're hidden, stop obbessing over insignifcant details and do actual work
Anonymous No.105838497 [Report]
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 No.105838536 [Report]
>>105828380 (OP)
Use case for XDG Base Specification?
Anonymous No.105838730 [Report] >>105839496
>>105833088
Additionally, you can have tmpfs as / so that any random shitty files that are created are removed if you reboot.
Anonymous No.105838932 [Report] >>105838947
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.
Anonymous No.105838947 [Report]
>>105838932
or rm -rf
whatever, I don't spend time in linux
Anonymous No.105839164 [Report]
>>105828380 (OP)
Happens in Windows too, fking hell
>.cache
>.conda
>.config
Anonymous No.105839233 [Report]
use qubes and flatpaks
Anonymous No.105839496 [Report]
>>105833088
>>105838730
this is what i do, it's extremely enlightening and whenever i want to "clean up" my system i just reboot
Anonymous No.105840361 [Report]
>>105828408
>XDG
sorry, I use wayland, not X, so I don't have X* variables or packages
Anonymous No.105840391 [Report]
>>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 No.105840410 [Report]
>>105831178
>game puts save and config files in My Documents
bitch those are MY DOCUMENTS
not your scratchpad
Anonymous No.105840623 [Report]
>>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 No.105840695 [Report]
>>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