Distro hoppers, how do you manage your config files?

jackofalltrades@lemmy.ml to Linux@lemmy.ml – 71 points –

I am currently trying to keep track of my config files in a repo to be able to get the configa back together easily if/when I change distro, but I am not sure if that's the best way or if I should be using some tool to help me since I some programs keep preferences in other directories other then $HOME (at least I think so). Can you guys share with me your must used/trusted simple process for this?

Thank you and specially thanks to everyone who is being helpful in this community for the past few weeks, I've learned much and got some very useful tips from the comments in my posts and in other people posts too.

33

You are viewing a single comment

I manage them using git and stow.

Stow is very useful, but a bit unknown. Hard to explain in a Lemmy post, but basically it helps you manage symlinks between your git repo directory and your $HOME.

You can "install" and "uninstall" configs by managing the symlinks with stow.

+1 for stow, it's so simple yet powerful.

I do the same plus a python script to automate the stowing. This plus konsave plus a script to install packages and it is a breeze to reinstall the OS