Earlier quoted context omitted.
Speaking of Windows, their situation is worse. I remember installing a couple of games and suddenly my "My Documents" folder had "EA", "EA Games", "Electronic arts", "Rockstar games" folders.
Games do that by design so that they can be cleanly uninstalled without removing saved games and preferences. Also you should be able to backup your documents folder and not your programs folder and be safe. A good uninstaller should ask if you want to save them and remove them if you don’t. I am not saying it is the best way. But I don’t think it is malicious or lazy.
Dotfile madness
231–240 of 534 posts
Re: Dotfile madness
#232To 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…
Re: Dotfile madness
#233To 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…
This strongly reminds me of installing software on Windows, where most games and programs would use My Documents as a dumping ground.
Much better than storing them in C:\Windows or C:\Program Files, as was the case a decade ago, before windows introduced UAC and blocked write access to these.
Re: Dotfile madness
#234Earlier quoted context omitted.
> I find the proliferation of XDG directories confusing, mostly because they're misused. Why should a game's save files be under .config? A game's save should be $XDG_DATA_HOME, misuse is exactly that, misuse. I have hundreds of games installed on my linux machine and not a single one has put it's save files into my $XDG_CONFIG_HOME folder. On the other hand many DO outright ignore XDG and dump all their garbage into…
The XDG approach is over-engineered: it adds complexity and provides no benefit. What is the specific concrete advantage of putting some parts of foo's state in ~/.config/foo, some in ~/.local, and so on? All this approach does is scatter what's conceptually a single state blob across different parts of the filesystem. I dealt with this stuff in Windows for years, and we don't need it in the Unix world. The conventio…
$XDG_CONFIG_HOME is equivalent to /etc. It has small files you probably want to back up.
$XDG_DATA_HOME is equivalent to /var. It has potentially large files you might want to back up.
$XDG_CACHE_HOME is equivalent to /var/cache. It has potentially large files you probably don't want to back up. You can delete them if you need space.
Re: Dotfile madness
#235Earlier quoted context omitted.
On my fedora ec2 created with a standard ami, docker doesn't work without sudo (didn't try to reconfigure, so it may if I hack), so that behavior is understandable, though not desirable.
Did you add your user to the docker group ?
Re: Dotfile madness
#236If you want to override the defaults of this command line program, create a .programrc file in your home directory.
and
Thanks for trying out this program, I'll just create a whole directory structure of config files and caches in your home directory.
Re: Dotfile madness
#237Re: Dotfile madness
#238Re: Dotfile madness
#239Earlier quoted context omitted.
Same for the default gopath. That was horrifying the first time. At least you can override it.
Default gopath was just a way to let newbies get up and running quickly; it originally required you to specify where to put it. I imagine they put it at ~/go so it would be glaringly obvious. Hopefully modules will render it all moot anyway.
That said, for something like source code, it makes sense to go into $HOME, so I don't understand this particular complaint the other poster made.
Re: Dotfile madness
#240Earlier quoted context omitted.
A general tagging mechanism, reasonably supported across filesystems , would be great to have. Not only for media collections. It's not easy to implement nicely, though.
Why wouldn't it to be easy to implement? You could probably make a global LD_PRELOAD library that hooks into all open() CREAT calls and tags the inode's xattr with the program that created the file. You could use an attribute like, user.created_by.