36
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

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.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 1 week ago

Perhaps this goes without saying, but if you want to do that, be sure you are installing Firefox through similar means across distros. This will not work with the Flatpak, for example.

Manual installation of Firefox is quite simple, and it self-updates, so that's always an option.

[-] [email protected] 2 points 1 week ago* (last edited 1 week ago)

be sure you are installing Firefox through similar means across distros. This will not work with the Flatpak, for example.

Very good point, I've picked up on this as well. Installed through the native package manager, the profile folder lives under ~/.mozilla/ whereas for flatpaks it's under ~/.var/app/org.mozilla.firefox/.mozilla/.

this post was submitted on 28 Jul 2025
36 points (97.4% liked)

Firefox

20542 readers
12 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS