you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 hours ago (3 children)

Dude, over 25 years I've switched distros sufficient amount of times while preserving my home directory (one day I found aliases in my .bashrc for commands that stopped existing 20 years earlier) to know, that no, it's not enough to preserve it.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 10 hours ago (2 children)

    If you're keeping your system config in control one way or another as well, I can't really think of anything else that would break. Like you, I've been carting my home dir around for a quarter if a century or so, and, except where I've had to build a package that no longer exists, or deal with an "upgraded" version of something that would have broken my workflow even if I'd upgraded on the same distro, I've not really had any settings or configuration go awry.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 10 hours ago (1 child)

    Typical issues after changing distros:

    • lots of software is not installed by default (nvim, Awesome WM, wezterm, git, IDEs, rust, VPNs)
    • you can't select Awesome WM as DE in installer, you can't select xdm as display manager. this requires manual setup
    • some configuration is kept in /etc
    • version of libraries change, some custom Awesome and nvim plugins can stop working
    • some details about dbus, sound configuration, displays, sleep and so on can change. custom scripts that rely on those stop working
    • keyboard configuration is in /usr/share. I use custom mapping...

    So yes, if you just select Gnome/KDE in the installer and then mostly just open the browser you just mount /home and everything is working again. The more customizations you have the more painful changing between distros is.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 hours ago

    Ah, ok. Most of that is what I meant by keeping the system wide config in VCS or a config management system. If you add your changes from /etc and /usr/share to a git repo they're easy to reapply. The list of user installed packages probably won't translate directly between different distro families, but it'll be close. I haven't used awesomewm, so I don't know how suseptable it is to library version issues, but it certainly sounds like a problem.

    What I found worked best for me is never making direct changes to my system, or installing packages, but doing it all through an ansible playbook. It's a bit more work up front, but there is something rather delightful about being able to take the most barebones install, without even a WM, run a single command and have the entire system back the way I want it, quirks and all. It's served me well for years, although I've stayed within the Debian family. Going outside of that would undoubtedly involve a bit of extra tweaking, but the playbook is setup to cope with that.

  • source
  • parent