this post was submitted on 17 Sep 2023
17 points (94.7% liked)
Arch Linux
7750 readers
2 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
/etc and ~/.config in priority
What is typically stored in /etc ?
System wide configuration files
Is it possible to tell my OS that it's always going to have only 1 non-root user and relocate all the
~/.config
into/etc
?You should not do that. Things can break. Your user configurations are stored in .config and Your System configurations stored in /etc/ are used by your system. I wouldn't recommend it.
Programs may read from /etc, but it's not recommended. Instead, I recommend having your .config directory stored somewhere, or preferably, have all configs in a git repository (often called dotfiles) and deploy them on systems for example with
stow
It's like .config but system wide. It stands for Editable Text Configuration. Some examples is config for Sudo, Grub, X11 or SDDM.