i'm pretty sure mozilla overloaded the word "profile" in firefox and it feels li...

@nmott@infosec.exchange

i'm pretty sure mozilla overloaded the word "profile" in firefox and it feels like i've stumbled upon cursed knowledge.

what i have: a "profile" in firefox called "Work"

what i wanted: to be able to use fuzzel to directly open my personal or work "profile" rather than defaulting to whichever one i used last, without requiring me to choose a "profile" every time i launch the browser. (this is relevant later. also, this setting appears to persist even if you modify .config/mozilla/firefox/profiles.ini to have StartWithLastProfile=1 which is fine. totally fine.)

what i attempted: modifying the firefox desktop entry to Exec=firefox {-P,--profile} $PATH. this works--i can switch between my default "profile", helpfully named "default-default", and the "profile" that ships with my distro called "default"--but none of the folders within .config/mozilla/firefox seemed to point to my "profile" called "Work". (i changed the name of the distro default to "not-actually-default" to clarify the situation.)

also: if you attempt to launch firefox with a specific "profile" (directory) and get something wrong it will show you a list of "profiles" (directories) that you can load. in my case, the options are "default-default" and "not-actually-default". this is distinct from the list of "profiles" (in-browser) that will appear if you select Menu > $ACTIVE_PROFILE > Manage Profiles > "Choose a profile when Firefox opens". in my case, the options are "Personal" and "Work". so we have two "profile" pickers that apply to entirely different concepts of "profile."

(related: en.wikipedia.org/wiki/Semantic )