Why do devs decide to treat your home folder like a god damn trash can for their fucking settings with no option to...

why do devs decide to treat your home folder like a god damn trash can for their fucking settings with no option to change it? the linux application system is a fucking mess. no wonder people don't get shit done on it.

Attached: tux.png (220x261, 39K)

Other urls found in this thread:

github.com/coreutils/coreutils/blob/master/src/ls.c#L2921
bugzilla.mindrot.org/show_bug.cgi?id=2050
github.com/npm/npm/issues/6675
github.com/flatpak/flatpak.github.io/issues/191
bugs.freedesktop.org/show_bug.cgi?id=40387
github.com/npm/npm/issues/6675#issuecomment-303289082
gobolinux.org/at_a_glance.html
sandervanderburg.blogspot.com/2011/12/evaluation-and-comparison-of-gobolinux.html
old.reddit.com/r/linux/comments/971m0z/im_tired_of_folders_littering_my_home_directory/
twitter.com/NSFWRedditImage

Config files in ~/.config
Data in ~/.local/share
Temp/Non-Essential files in ~/.cache.

is it really so fucking hard for devs to do this?

Okay.

How old is the tool that you're bitching about? Some things predate that suite of files.

Meanwhile Windows throws its shit fucking everywhere. Hell, fucking Windows Update puts shit on my GODDAMN EXTERNAL DRIVE. FUCK YOU, WINDOWS.

shoo shoo LOO IN POO

Because you didn't submit a patch to support XDG directories in the software you use.

I had 4 HDDs and a USB stick plugged in.

I unplugged 2 drives and all my programs started saving torrents and downloads to the USB stick.

This used to bother me, but eventually I realized the reason devs don't give a shit about it is because... they don't give a shit about it. People with jobs that create things and solve actual problems don't have time to rice their desktops and make sure every file is in its ideal place. Putting config files in the home folder is the simplest solution so it's no wonder a lot of programs do exactly that. There's no need to overcomplicate shit that's irrelevant.

That's not the worst of it, I still have no seen an uninstaller that actually removes all of the shit the installer installed.

This, I formatted an external drive and windows GAVE ME A BOOT ERROR even though windows was not installed on that drive, turns out windows decided to put my efi partition there for some retarded reason and I needed to rebuild it.

If there's one thing OS X does right it's having applications distributed in self-contained archives that actually clean up everything when you delete them

Some programs like iPython that go to great lengths for cross platform compatibilitydon't use these directories since apparently they're Linux specific

Linux has this with Snap or Flatpack or whatever the nom dujure is

Linuxen are disgusting trash, bolted together. Do not expect any quality.

They shouldnt have to do this in the first place, it is just :
> should i invest 2 min to think about the config locations? Fuck it, i store it in $HOME.
Great idea, mate! And now you telling us we are to blame because we havent sent patches. Are you out of your mind, ir is it some kind of intellectual or mental "gymnastics"?

No need to overcomplicate?
Overcomplicate?
To use ONE fucking folder like $HOME/settings, instead of pooing in the hoo(me)? Is it complicated to you?
And is it ok? A serious question: are you retard?

No, the settings will be still kept.

It would be nice if every developer was perfect but they're not. So you have two options: complain on the internet like a child, or put on your big boy pants and fix it.

You know what? I do packaging and i fix all the stupidity. Do not tell me, what i should do, because you know what, I DO send my patches. It needs a wast amount of work to fix it, this is why i say it should never happend in the first place.So yeah, blame somebody else, for example the lazy and retard devs. Could we?

Attached: poointhehome.png (165x333, 12K)

>"muh perfect home folder"

Attached: 1555718995173.png (434x327, 55K)

Sure, blame the "lazy" devs who are giving you software for free.
That kind of entitlement is why nobody wants to maintain open source software in the first place.

You don't get shit done because you view hidden files. Real Linux users know the paths of their config files off the top of their head.

Oh, mate, you still don't get it. They shit all over our $HOME, because there was no declared location to save the settings. So GNU is the only entity to blame. XDG came way too late and retarded af.

Yeah, it is easy: $HOME

so real linux users are autistic

why are you still keeping your shit in your home folder? I treat it like a user-specific /etc and have a whole separate place where I keep my own files.

where?

I have a directory /user and I mount a few things in subfolders of that. One of which has all my files. but I keep some scripts and the like in /user. If I have to modify dotfiles I keep a copy with my files. preferably with notes on what I changed and why, since just carrying config files forward blindly for years and years seems like a great way to leave landmines for future me. I could blow away everything in /home/user right now (say, if I wanted to reinstall) and anything that matters I'd be able to put back.

Fix the problem yourself then. You are running open source software right?

Because it's the best place to store user specific configuration, in the user's personal directory.
It's under a single well organized hidden directory if you are smart enough to find it you should be smart enough to appreciate it.

Compare it to winblows. User folder, hidden Appdata folder with 3 different local, roaming locallow. hidden ProgramData folder, registry HKEY_CURRENT_USER, program directory, probably more but I don't feel like listing anymore.

if you autistic niggers want a completely empty user directory make a subdirectory in your home folder called AUTISTICNIGGER and set it to your default login directory. it will be completely empty and only touched by you.

a root level directory for personal use? shiggy diggy doo....
with regular backups you can blow everything on your entire system and still put it back.

>>a root level directory for personal use? shiggy diggy doo....
it's nice, you should try it.

>It's under a single well organized hidden directory
>single well organized hidden directory
>single well organized
>WELL ORGANIZED
>SINGLE
I call this bullshit.

no it's completely improper and potentially dangerous.

So you mean we should reinvent the home folder in our home folder to have a home folder?
Ummm....

~/.config/{PROGRAM NAME}
I don't see any more.

>reinvent
if you want an empty directory make it yourself.
If you want to use a default user directory for personal files ignore the hidden directories and files.

>potentially dangerous.
justify this statement.

imagine making a typo while sourcing the path of your "personal" directory. It's a potential danger working near the root directory multiplied by the frequency of use will make you complicit and relaxed running commands on what should be considered very important directories which is a very bad habit to have.

Gotta admit that "muh security" is also getting on my nerves
>you should never run X as root!
>you should never run vim as root!
>you should never run pip/npm/any other package manager as root!
why the fuck even put their installations in / then, just install the whole structure under home and add to path

Attached: 1549496635198.gif (500x500, 170K)

Have you seen ?

like how you could make a typo working with any other directory?

Nobody works that frequently in root level directories so you slow down to check and double check commands.
If I'm in my home directory I don't give a fuck because I don't have to worry about bringing a system down just restoring my shit from a backup.

heh none of that shit happens using CLI. GUI linux no specifications no conventions just a straight up free for all eh? That honestly disgusts me.

should only have .cache and .config
the rest of those could go under those two.

Is there an api that automates this at a high level like in Android (getCacheDir, getFilesDir, getExternalStorage, etc)

Or, let me guess...did your lord and savior Linus leave it up to developer intuition to make these decisions.

Linux is a mess

>shitty and confusing folder structure
>no true application permission model

So you meani should create a safe place to not get triggered by this utter chaos?
Are you sjw?

And this shot foesnt even includes the dotfiles in my home.

>I suggest solving your own problems instead of whining and doing nothing about it
No that sounds like you are being the crybaby SJW.

so prefixing "/home" before "/user" is a magical protective talisman that you will surely stumble and mangle your system without?

no I use ~

And i told you i working hard fixing this mess and send my patches, so according this you are the one who talking bullshit:
>Just you know, dont look there, just close your etes, mate.

oh dear user, you slip one single keystroke and you have a root path!

those cocksuckers aren't going to change their config directories. you are either going to be running forks or build scripts that build their latest shit then merge the patch in and maintaining it.

Nah, they mostly accepts it, i just have to guard it like:
#ifdef __OUROS__

huh really? What distro is your fix for then?

Haiku, they doesnt allow any config file in home. And they have an api for it.

$XDG_CONFIG_HOME etc

Its a hack what came too late and doest forces anything, better than nothing but still not ideal.

you did something wrong. when you compile with gnu make there's a PREFIX like =~/.local

Yeah that sucks, I don't use Linux though. Windows isn't better, plenty of apps shit up your documents directory so you uninstall them.

This makes no sense at all. Do you have any idea what are you talking?

it's hidden isn't it

Just for clarification:
PREFIX is the install location, it have nothing to do with the config location.
Some program accepts config location definition trough configure invocation, some uses XDG in runtime, some doesnt even care, just hardcodes everything.

Hidden? What makes them hidden?
Oh, you mean the dot? So the file managers uses a workaround to hide them?
They are not hidden at all, just not listed on Linux and this is a big difference, because they are listen in cli, and there are other OS not just GNU.

ls
>They are not hidden at all

I unironically don't give a fuck unless they start adding non dotfiles to my home directory. Having everything setup so I can type "cd p " and go to my pictures folder instead gives me programdata instead.

>So the file managers uses a workaround to hide them?
it isn't a workaround all files and folders prefixed with a . are hidden
Windows handles hidden folders differently but that doesn't have anything to do with linux.

>In Unix-like operating systems, any file or folder that starts with a dot character (for example, /home/user/.config), commonly called a dot file or dotfile, is to be treated as hidden
Treated as hidden doesnt mean they are hidden.
>Oh man, just workaround this in every fuckin program, so they dont lists them, it will be great.
So lets go back to the base, i dont care if they hidden, i just dont want them to be there.
>Oh, man, just close your eyes.
Linux conform solution, even works for every other disgusting aspects too, this also a reason why 2019 still not the year of the Linux Destop.
Worksforyou, i know.

why

>Trust me, this is not a workaround!
Do you even know your programs mate?
github.com/coreutils/coreutils/blob/master/src/ls.c#L2921
Good to know it is handled in one place and not every program have to be hacked to hide this fucking mess, god i love GNUtards.

This is why.

If I had to complain about something wrong with Windows besides its security issues, it'd be this.
I'M SO. FUCKING. TIRED. of seeing entries in my Regedit for programs that I have uninstalled fucking ages ago.
That shit shouldn't happen at all.

Why dotfolders, that's fucking idiotic.
Configs in ~/config
Binaries in ~/data
Libraries in ~/libs
Or better yet, check this out, containers.

The most popular consumer operating system in the world makes use of dot files to easily hide pics and video from indexing. Works great

Attached: Screenshot_20190716-082526_Samsung Internet.jpg (1590x677, 138K)

wrong, they go in .local

Irrelevant, Android is not a desktop os and the filemanagement is pretty limited.

This is why you configure shit systemwide in /etc and delete all pointless shit in /home

Attached: D7D17F51-2604-491E-A9DC-DC197C2D2505.jpg (1080x1043, 176K)

And many will be recreated, just because, you know, screw you.

unixtards will defend this and say the XDG standards are bloat with NSA backdoors by trannies

Probably also a hack.

>bug: config files made in the wrong fucking place
>opened 13 years ago
>WONTFIX
FUCK YOU
bugzilla.mindrot.org/show_bug.cgi?id=2050
github.com/npm/npm/issues/6675
github.com/flatpak/flatpak.github.io/issues/191
bugs.freedesktop.org/show_bug.cgi?id=40387

Attached: 1538241779589.png (1080x1053, 662K)

what do you guys think of how GoboLinux solves these issues?

Tell us how it handles them and we tell if it is divine or just a CIA clusterfuck.

github.com/npm/npm/issues/6675#issuecomment-303289082
Ohohoho :)

my ~/ folder is full of porn like all good computers are supposed to be

Meh, at least Linux devs use hidden folders. Windows devs just put everything in Documents or are still under the impression that it's 2001 and try to write to Program Files.

But according to there is no "hidden" folders on Linux.

>take out hard drive
>forgot my screenshot folder is in that hd
>look up 'accidentally deleted screenshot folder' and 'ways to change the screenshot folder location'
>5 results told me to do a system restore
>MS supports told me the same thing
>1 guy from an obscure forum posted the exact registry entry where I could change it.

Attached: 1562775760997.jpg (225x160, 4K)

gobolinux.org/at_a_glance.html
>no package manager, everything is installed from source
>one program - one directory, one version - one subdirectory
>everything related to the program is in that one directory
>everything is symlinked to retain compatibility
pretty based, also awesomewm is default window manager

>Hello sir thank you for writing into Support today. Have you attempted running the sfc /scannow in an elevated terminal mode to resolve the issue? Kindly do the needful and report the results of that command.
every. single. time.

Doesn't nixOS solve this problem?

Look into NixOS. Gobo is a tech demo only I think.

sandervanderburg.blogspot.com/2011/12/evaluation-and-comparison-of-gobolinux.html
found this just now, a comparison of GoboLinux and NixOS

It's not a fix for the assholes that drop files everywhere, but I set my home folder to readonly, then when an application doesn't work correctly (main one I know is firefox) I give it a special $HOME variable to run with (by putting a wrapper in ~/.local/bin.) There are other solutions that use LD_PRELOAD.

nixos doesn't itself fix programs that fill your $HOME with garbage, but you can write a nixos config (and/or nix default expression) that assists with the problem

for a while I ran all applications with the environment variable $HOME set to $HOME/.local but it really just moves the problem. It sounds tedious to fix every application on a case by case basis with a wrapper script, but really you just need to do it first launch of a broken application then never worry about it again.

I agree. But, at least the usually hide them.
You can script it somewhere else, but why should I have to. Year of the linux desktop never.

>old.reddit.com/r/linux/comments/971m0z/im_tired_of_folders_littering_my_home_directory/

Attached: back.jpg (318x159, 7K)

man hier
man file-hierarchy