General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
DistroTube
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "Dotfiles Are Everywhere. We've Lost Control Of Our Home Directories!" video.
Also note that an important part of the XDG spec is the ability to override all these paths with environment variables. And do so individually. This gives you fine-grained control. The only reservation I have is why the default directory for systemwide configs is /etc/xdg, instead of /etc.
9
0:46 How to list only the hidden ones, excluding the useless “.” and “..” entries: ls -ld ~/.[!.]* bash also accepts the “^” character in place of “!”, but “!” is POSIX-compliant.
4
10:05 Or worse still, both config and cache mixed together!
4
0:40 On my main machine, running Debian Unstable: ldo@theon:~> dpkg-query -l | grep -c ^ii 6846 Yup, that’s 6846 packages currently installed.
2
@DistroTube No, I just like to try lots of things. ;)
1
3:36 Actually, there is a way to get some kind of control over most of them, and that is to redefine your $HOME environment variable to point somewhere else.
1
@jjbailey01 But /etc is the standard place to put all systemwide configs.
1
@jjbailey01 The directories are for files which belong together, e.g. in the same package or related packages. Same with ~/.config for user configs. That’s why I don’t understand why there is a need for this additional /etc/xdg directory.
1
@jjbailey01 Do you know what a “strawman” is? That’s when you try to refute something that I didn’t even say.
1
@jjbailey01 “Extrapolating” from something I said to something I didn’t say. Yup, that’s a strawman, all right.
1
@jjbailey01 How does placing that single file in /etc/xdg instead of /etc help?
1
@jjbailey01 So I put a single file in /etc/xdg. Why is that more “forward compatible” than putting it in /etc?
1
@jjbailey01 Says someone who is avoiding answering my question.
1
@jjbailey01 So you create a config directory /etc/«dir». How is that less “future-proof” than /etc/xdg/«dir»?
1
@nicolasvillafan You mean, for something that doesn’t obey the XDG spec? If it doesn”t obey the spec, it won’t pay any attention to those environment variables.
1
@nicolasvillafan You could try changing the definition of the HOME environment variable.
1
1:07 The command ls -d ~/.[!.]* | wc -l reports that I currently have 220 of these.
1