Cleaning up the whole $HOME/<.pkgname>/ situation for individual app settings

3 years ago by promitheas to c/linux

Hey guys! Is there a way for me to force apps to treat e.g. $HOME/.config/ as their default directory to look for settings? I want to clear up my home directory because its getting quite messy and I don't even have that many packages installed yet.

Also, any way that would be easy and efficient for use with git for the purpose of backing up my dotfiles.

Thanks!

load all comments
sqraw 8 points 3 years ago

Might be worth looking into immutable distros (nix, guix) and their home management systems, or containerised apps (flatpak, where you can inject config). A lot of tools are hardcoded to non standard locations so it's kind of a losing battle by default. A similar strategy would be to use permissions or mount certain folders as read only.

path: 0 509274, hotness: undefined, score: 8, children: 2
Klaymore 7 points 3 years ago

Yeah, Nix(OS) with Home-Manager is great for managing dotfiles. Impermanence is also nice but a bit more complicated.

path: 0 509274 510051, hotness: undefined, score: 7, children: 0
Sharmat 3 points 3 years ago

Adding VanillaOS as well, saw it a few days ago and it seems like a pretty decent immutable distro too.

path: 0 509274 514677, hotness: undefined, score: 3, children: 0
linux
linux

@lemmy.ml

login for more options
68108
9456
5309

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...