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’.Exactly this. Make a launch script that runs over all your profiles and launches them independently
Add
--no-remote
to start different profiles simultaneously.Example:
firefox -P 'Joel User' --no-remote
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
- Save the file and make it executable by running the following command in the terminal:
chmod +x launch_all_profiles.sh
- Now, you can run the script by executing
./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:
- Copy the original Firefox desktop file to your local applications directory:
cp /usr/share/applications/firefox.desktop ~/.local/share/applications/
- Open the copied desktop file with a text editor:
nano ~/.local/share/applications/firefox.desktop
- Find the line starting with
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
- Save the file and close the text editor.
Now, when you click the Firefox icon in the panel, it should launch all your profiles at once.
-
I only use 2 profiles, but I create dot desktop files for them and their commands with custom icons for easy usage.
If create desktop doesn’t work, u can always go to about:profiles and manage/open from there
deleted by creator
if you said what your platform/OS is, maybe you would get a helpful answer
deleted by creator