I’m using Manjaro Linux and have multiple profiles set up in Firefox. Right now, when I click on the Firefox icon in the panel, it only opens my default profile. I then have to go to about:profiles and manually click “Launch profile in new browser” for each additional profile I want to open.
This is a bit tedious. I’m wondering if there’s a way to open all Firefox profiles at once when launching the app.
When starting Firefox with the command line, you can specify the profile you want to open with
-P
So
firefox -P "Joel User"
starts the profile ‘Joel User’.Further reading
Add
--no-remote
to start different profiles simultaneously.Example:
firefox -P 'Joel User' --no-remote
Exactly this. Make a launch script that runs over all your profiles and launches them independently
To open all Firefox profiles at once when launching the app in Manjaro Linux, you can create a script that launches each profile in a new instance. Follow these steps:
First, make sure you know the names of your Firefox profiles. You can check this by running
firefox -P
in the terminal, which will open the profile manager.Create a new script file, for example,
launch_all_profiles.sh
, and open it with a text editor.Add the following lines to the script, replacing
Profile1
,Profile2
, etc., with the names of your actual profiles:#!/usr/bin/env bash firefox --no-remote -P Profile1 & firefox --no-remote -P Profile2 & # Add more lines for additional profiles if needed
chmod +x launch_all_profiles.sh
./launch_all_profiles.sh
in the terminal. This will launch all your Firefox profiles at once.If you want to launch all profiles by clicking the Firefox icon in the panel, you can modify the Firefox desktop file to execute the script instead of the default Firefox command:
cp /usr/share/applications/firefox.desktop ~/.local/share/applications/
Exec=
and replace the existing command with the path to yourlaunch_all_profiles.sh
script. For example:Exec=/home/your_username/path/to/launch_all_profiles.sh
Now, when you click the Firefox icon in the panel, it should launch all your profiles at once.