this post was submitted on 16 Jul 2023
71 points (97.3% liked)

Linux

48001 readers
978 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 1 year ago (3 children)

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.

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Same but with the addition of a Brewfile to manage installed apps/CLIs (supports both Mac and Linux)