Live data from Hacker News

Dotfile madness

0x46.net

131–140 of 534 posts

Re: Dotfile madness

#131
post #15

Earlier quoted context omitted.

In a way a users settings are ‘personal files’, so it can be argued they go in home.

Except isn't there a specific directory for such things now in $XDG_CONFIG_HOME? Or is this not standard at all? Either way, $HOME/.config makes perfect sense to me!

We didn't always have the XDG standards, they were bolted on later and consequently a lot of devs ignore them.

Re: Dotfile madness

#132

To me, the real problem is not the dotfiles, but the regular (i.e. non-hidden) files that applications surreptitiously create in my home folder. (Which the author does mention as being particularly bad.) dotfiles in the home folder are not a new thing on Linux (e.g. .bashrc, .profile, .emacs, etc.), even if it would be better if more applications used the XDG folders. And if I don't see them when I "ls", they don't b…

I use ubuntu 18.04 (kde) and my snap folder is /snap

I don't know how I did this.

Re: Dotfile madness

#133
post #2

This isn't just a Linux problem. In Windows, the users /documents folder is polluted in exactly the same way these days.

Also on macOS, where [~]/Library/ApplicationSupport is the designed and recommended place to store config files, logs, preferences and all kinds of persistent data, the home directory still gets cluttered. It's a laziness issue, it won't be solved solely by making is easier to access the right locations on each system/platform, but that would be a step in the right direction.

This was a bigger problem in the earlier days of OS X (I even created a "Actually My Documents" folder inside the Documents folder to work around it), but now I'm down to two offenders - Adobe and DVDFab.

Re: Dotfile madness

#135
post #92

Earlier quoted context omitted.

Also on macOS, where [~]/Library/ApplicationSupport is the designed and recommended place to store config files, logs, preferences and all kinds of persistent data, the home directory still gets cluttered. It's a laziness issue, it won't be solved solely by making is easier to access the right locations on each system/platform, but that would be a step in the right direction.

I would honestly like to blacklist my home folder. Do you want to create a new file/folder? I am notified with a popup and if you ask to often I am gonna stop using that. Not really workable but one can still dream...

That's how sandboxed apps (=app store apps) on macOS work. They can only access files and directories that the user has explicitly selected (through the system file dialogs or drag and drop)

Re: Dotfile madness

#136

That's why I never use $HOME for personal files. All of my files are in the Dropbox folder or another custom folder on my work PC. It's nonstandard, so no one litters in it besides me.

I do something similar, everything I want to keep is under /storage.

Re: Dotfile madness

#137
Oddly I feel completely the opposite about this topic. I think dot files in your home directory are exactly the way to go. Using the XDG standard leaves you with whatever the distro decides is the correct location for these files. While their recommendation is all in the home directory, I wouldn't put it past some of these distro developers to make some crazy /var/users/{uid}/config directory. This is important when setting up your partitions. I keep home and the system separate so that I can easily swap out the OS. Home should be the only location a user has write access.

Re: Dotfile madness

#138

To me, the real problem is not the dotfiles, but the regular (i.e. non-hidden) files that applications surreptitiously create in my home folder. (Which the author does mention as being particularly bad.) dotfiles in the home folder are not a new thing on Linux (e.g. .bashrc, .profile, .emacs, etc.), even if it would be better if more applications used the XDG folders. And if I don't see them when I "ls", they don't b…

>And when people complain, the devs have the gall to suggest that this is all fine. You're complaining on a really high level and nobody suggested "this is fine". They suggested "wishlist" is fine according to their definition of "if it's not immediately broken and a fix is not trivial" If you have an issue with default folders that are quite normal in a modern desktop environment I suggest you move back to Arch or w…

Sorry I do not want a directory /Documents if /docs is what i want when i want it...

Re: Dotfile madness

#139

Earlier quoted context omitted.

>And when people complain, the devs have the gall to suggest that this is all fine. You're complaining on a really high level and nobody suggested "this is fine". They suggested "wishlist" is fine according to their definition of "if it's not immediately broken and a fix is not trivial" If you have an issue with default folders that are quite normal in a modern desktop environment I suggest you move back to Arch or w…

Sorry I do not want a directory /Documents if /docs is what i want when i want it...

It is your lucky day - there is a standard for this as well https://wiki.archlinux.org/index.php/XDG_user_directories
Post reply on HN