Profile Switcher no longer working after firefox update to version 124.0
When attempting to switch profiles following updating to firefox version 124.0 it no longer opens a new browser with the selected profile. This is still able to be accomplished by navigating to about:profiles and selecting to launch profile in new browser.
I'm having the same issue
The issue seems to be the same as https://github.com/null-dev/firefox-profile-switcher-connector/issues/14 Workarounds are written there.
Same here. Was working perfectly like it has since... forever, then after updating to 124.0 it will no longer launch other profiles from the extension drop-down like it used to.
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience:
Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:
{"browser_binary": "/usr/bin/firefox"}
Firefox Developer Edition:
{"browser_binary": "/usr/bin/firefox_devedition"}
For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.
{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}
EDIT: Confirmed, workaround above works for this issue. EDIT2: thx @callumgare For MacOS:
config file:
~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json
{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}
echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience:
Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:
{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:
{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be
%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.
{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.
I did it on Ubuntu here and it worked like a charm! Thanks!
Path for Windows local installations is "C:\Users\%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be
{"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}
My rust knowledge is ... non-existent, but this must be an issue with the get_parent_proc_path function in the connector: https://github.com/null-dev/firefox-profile-switcher-connector/blob/master/src/process.rs#L179-L181
I wonder whether 124.0 changed the MOZ_CRASHREPORTER_RESTART_ARG_0 env variable that it uses to autodetect the binary?
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience:
Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:
{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:
{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be
%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.
{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.
Confirmed this works on Windows 11, Firefox v124.
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience:
Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:
{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:
{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be
%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.
{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.
This is not working for mac. Any other solution?
This is not working for mac. Any other solution?
Check here
Looks like it could be:
/Applications/Firefox.app/Contents/MacOS/firefox-bin
Or perhaps you can put the open command instead:
open -a Firefox
To search yourself you can try:
locate firefox | grep 'firefox$'
Have a look at that thread though,
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience:
Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:
{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:
{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be
%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.
{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.
This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?
For MacOS:
echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience: Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?
Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\ If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.
This did work for me as well. Appreciate the work around
For MacOS:
echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json
Now it is working. Thanks
Path for Windows local installations is "C:\Users%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be
{"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}
Not working for me in Windows 10 - tried replacing %USERNAME% with my username, as I'd expect, and also tried leaving it verbatim. Neither worked. I restarted Firefox each time. Advice?
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience: Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?
Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\ If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.
The Profile switcher folder location was correct but the location of the firefox.exe wasn't! After fixing that it worked!
If anyone else is having issues double check that you're using the correct location in the config.json file.
Path for Windows local installations is "C:\Users%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be
{"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}Not working for me in Windows 10 - tried replacing %USERNAME% with my username, as I'd expect, and also tried leaving it verbatim. Neither worked. I restarted Firefox each time. Advice?
Do you perhaps have both a local and a universal Firefox install? Which one does the icon point to, \Program Files or \Users ? (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties")
Heck, or you can skip all of this. Download Voidtools Everything (portable if you don't want to install it but it's heck of useful) and after it indexes your drive (take 10 seconds to a minute depending on the drive and how full it is) just type firefox.exe - you can even right-click a result and copy full path to clipboard.
EDIT: Also, have a look at @kamping22 's response, this might be your issue.
Thanks for sharing a workaround! I hope the dev hasn't abandoned the project, this has been a great extension and I'd like to see a fix implemented directly eventually. I've been having this same issue with the latest Firefox on Windows 11 for the past week or so. Since it's not just me, hopefully an update to the extension will make sure I don't have this problem on all my other devices using Firefox.
The fix didn't work for me to begin with, but as of now, the profile switcher seems to be working. I'm not sure if the dev fixed this issue or if the fix worked.
I cant get the fix to work for me, could someone help. Am I doing the above correct, and am i pointing things to the right directory:
Checking locations: (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties") gives:
"C:\Program Files\Mozilla Firefox\firefox.exe"
I created a new document using Notepad++.
and saved it in: C:\Users\USERNAME\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config
and named it: ~.configfirefoxprofileswitcherconfig.json
With just the content: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}
FF Troubleshooting Info shows the profile folder as: C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxxx.default-release
Yes, apparently we got rid of MOZ_CRASHREPORTER_RESTART_ARG_0
https://searchfox.org/mozilla-central/source/toolkit/crashreporter/client/app/src/config.rs#110
// We no longer use don't use MOZ_CRASHREPORTER_RESTART_ARG_0, see bug 1872920.
The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.
Copied here for convenience: Manually set the browser binary path by creating a file
~/.config/firefoxprofileswitcher/config.jsonwith the following content:{"browser_binary": "/usr/bin/firefox"}Firefox Developer Edition:{"browser_binary": "/usr/bin/firefox_devedition"}For Windows users, the config file would be%APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}EDIT: Confirmed, workaround above works for this issue.This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?
Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with *C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config* If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.
My config was in ...\AppData\Roaming... Thanks a bunch!
I cant get the fix to work for me, could someone help. Am I doing the above correct, and am i pointing things to the right directory:
Checking locations: (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties") gives:
"C:\Program Files\Mozilla Firefox\firefox.exe"
I created a new document using Notepad++.
and saved it in: C:\Users\USERNAME\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config
and named it: ~.configfirefoxprofileswitcherconfig.json
With just the content: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}
FF Troubleshooting Info shows the profile folder as: C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxxx.default-release
Name it config.json
Hi guys, does anyone have a fix for FireFox flatpak edition?
or if anyone has the setup script for flatpak plz send me :)
Hi guys, does anyone have a fix for FireFox flatpak edition?
or if anyone has the setup script for flatpak plz send me :)
For Flatpak, you should put the config file at ~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json
{"browser_binary": "/app/bin/firefox"}
Otherwise, run this in your commandline: echo "{"browser_binary": "/app/bin/firefox"}" > "~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json"
Hi guys, does anyone have a fix for FireFox flatpak edition? or if anyone has the setup script for flatpak plz send me :)
For Flatpak, you should put the config file at
~/.var/org.mozilla.firefox/config/firefoxprofileswitcher/config.json
{"browser_binary": "/app/bin/firefox"}Otherwise, run this in your commandline:
echo "{"browser_binary": "/app/bin/firefox"}" > "~/.var/org.mozilla.firefox/config/firefoxprofileswitcher/config.json"
Thanks a lot !
For me the config file path for flatpak edition was ~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json
Ah, whoops. That's correct. I missed the app folder. Fixed!
Anyone have any thoughts as to why the fix isn't working for me?
I have confirmed the firefox.exe path: "C:\Program Files\Mozilla Firefox\firefox.exe"
I have created a config.json file in: C:\Users%username%\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\
I have added the single line to the config.json file: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}
Restarted Firefox but now the extension icon is invisible and when I click it nothing opens.
Anyone have any thoughts as to why the fix isn't working for me?
I have confirmed the firefox.exe path: "C:\Program Files\Mozilla Firefox\firefox.exe"
I have created a config.json file in: C:\Users%username%\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\
I have added the single line to the config.json file: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}
Restarted Firefox but now the extension icon is invisible and when I click it nothing opens.
Try using two slashes in the path (\\): {"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}