Skip to content

Profiles

Vitaliy Elin edited this page Oct 30, 2026 · 5 revisions

MyFox can use several profiles, take a profile over from another Firefox and switch between them.

Which profiles

  • MyFox profiles: those with the tweaks (marked with a .myfox file). myfox refresh and myfox reinstall update the tweaks in all of them.
  • Related to MyFox: MyFox profiles, profiles made with firefox -p in MyFox's Firefox, and profiles never opened. MyFox can use them as they are.
  • Other Firefoxes' profiles (the system one, snap, flatpak): MyFox never uses them as they are, only imports them: copies (the original stays as it was) or moves them.

Commands

Command Action
myfox profile list [--all] [--json] the profiles related to MyFox; --all also other Firefoxes' ones and the empty placeholders, marked as such; --json for programs
myfox profile new [--name NAME] [--use] [--open] a new empty profile with the tweaks
myfox profile import <ID|folder> [--move] [--sync none|copy|move] [--name NAME] [--allow-downgrade] [--use] [--open] copy or move another Firefox's profile into a new MyFox profile
myfox profile apply <ID> apply the tweaks to a related profile
myfox profile use <ID> which profile MyFox's Firefox opens
myfox profile remove <ID> [--no-restore-sync] delete a profile MyFox created (not the one in use)
myfox profile rename <ID> <NAME> rename a profile MyFox created

An empty placeholder is a profile no Firefox ever opened, with nothing in it but times.json: a Firefox's first start leaves one named default for versions before 67. MyFox shows it only with --all, as not a profile.

--use: MyFox's Firefox opens the new profile from now on. --open: open the new or imported profile in a window of its own once done. --gui and -y work as for the other commands.

The ID is the first column of myfox profile list: the profile's folder name, with snap: or flatpak: in front for those Firefoxes. A profile's name works too if no other profile has it. Without an ID, the command asks which profile (with -y or without a terminal, it prints the list).

Restrictions

  • Only switching the profile MyFox's Firefox opens (use, --use) waits until that Firefox is closed. Making, importing, renaming and deleting other profiles work with it open.
  • Firefox's own profile list (profiles.ini, what firefox -p shows) has only the profile MyFox opens: a running Firefox rewrites that list and would take back changes made meanwhile. MyFox finds its other profiles itself. myfox refresh with Firefox closed tidies entries an older MyFox left.
  • apply, remove and the profile being imported must not be open in any Firefox.

Importing

The copy takes everything (bookmarks, history, passwords, extensions, settings) except caches, locks and chrome/: the tweaks bring their own. Its name is «<the original's name> (MyFox)», or the one given with --name.

--move moves the profile instead: the copy takes the Firefox account along, and the original is deleted from its folder and from that Firefox's profile list. That happens last, so a failure or a cancel leaves the original as it was.

The copy gets the MyFox theme that looks like its own theme (light or dark; if it follows the system, the system's), switched on at its first start: the theme the original had would hide most of the tweaks.

The Firefox account when copying:

--sync In the copy In the original
none (default) not signed in stays signed in
copy signed in stays signed in; Sync sees the two as one device
move signed in signed out; the account files are kept next to themselves as *.myfox-backup

An account moved this way goes back to the original when the copy is deleted (myfox profile remove) or MyFox is uninstalled.

A profile last opened by a newer Firefox may not work right in an older one: the import then needs a confirmation (--allow-downgrade).

Importing from the browser: the profiles section of about:myfox (with MyFox 1.2.3 and newer tweaks). The page has the choices made before the start; MyFox then closes its Firefox, imports, and starts it again. Making a profile the default works the same way there.

Importing on install: the «Profile» field of the install form or the --import, --sync, --allow-downgrade flags (see Installation).

Clone this wiki locally