I’m working on a suite of scripts that will enable me to hop Linux distros and get back to business as usual w/ minimal fuss. When I hop distros, I tend to back up my important stuff and blow everything else away so I can start with a clean slate. I have some scripts for updating my backups before the wipe and updating the system after the base install:

sudo apt update && sudo apt upgrade -y

Followed by other commands to install my favorite apps and configure my favorite desktop settings.

One thing that I haven’t nailed down yet is restoring my Firefox add-ons through the command line. Searching the web, I’m not even sure this is feasible. I found this post from 2011 in the AskUbuntu forum, but I figure the answer might have changed since then.

I just want to remove as much friction as possible from the distro hopping process. I know I can store /home on a separate partition, but I prefer nice, clean installs followed by scripting in my config changes.

Any tips or advice would be greatly appreciated.

  • hankthetankie [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    Unsure, but what you can do is copy the extensions from your Firefox user folder and add them to your new install. The settings are not stored in the same folder as the rest of the settings or extension settings.

    • yo_scottie_oh@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      I was just thinking about whether something like this could work after eksb’s comment about backing up the ~/.mozilla folder. I’ll test it on a test machine and report back.