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…
Dotfile madness
151–160 of 534 posts
Re: Dotfile madness
#152Re: Dotfile madness
#153Re: Dotfile madness
#154To 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
#155Re: Dotfile madness
#156Oddly 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…
Requiring files in your home directory that do not have a dot at first (with a fixed name) is no good, though.
Re: Dotfile madness
#157Earlier quoted context omitted.
If it was completely controllable, I’d have the ability to control where they are and put them out of my way. Lazy programmers use home as a default. Home directories have become the *nix version of the Windows Registry.
Very likely you do have the control. You simply haven't taken the time to learn how to configure things.
https://wiki.archlinux.org/index.php/XDG_Base_Directory_supp...
Re: Dotfile madness
#158Earlier quoted context omitted.
That's an intellectually lazy thought. If everyone had that attitude we wouldn't have modern society at all (grow your food, don't expect someone else to grow it for you).
Linux has been and is a tinker OS for folks who know wtf they are doing. As time progressed it has become easy enough folks who dont know what they are doing can use many of the distributions. Those folks are destroying what used to be a wonderful intelligent linux community.
Nobody is forcing you to interact with those "new users", if you don't like them, ignore them.
Frankly, if everyone had your attitude, your Linux community will be dead and gone in a few short years as time progresses, and your old users pass away.
I've been a Linux user for a long time, I and many other long time Linux users do not share this persons opinions. New Linux users, keep coming, the vast majority of us are not elitist.
Re: Dotfile madness
#159I believe the article itself is an existence proof that it is in fact, not bizarre.
Re: Dotfile madness
#160Earlier quoted context omitted.
Sounds like you might need to hook rename() if you'd like to add that feature too, but I would still say it's straightforward.
The way most editors save a file is like this: f = open("the_file.new") write(f, new_contents); close(f); rename("the_file", "the_file~"); rename("the_file.new", "the_file"); So the old file is never modified, it's renamed to the backup copy, and an entirely new file is created to take its place. This has a number of advantages, but does not play well with any extended info the old file used to have, unless they are…