How to open all Firefox profiles at the same time?

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.

density,
@density@kbin.social avatar

if you said what your platform/OS is, maybe you would get a helpful answer

minstrel,

If create desktop doesn’t work, u can always go to about:profiles and manage/open from there

beeng,

I only use 2 profiles, but I create dot desktop files for them and their commands with custom icons for easy usage.

sebi,
@sebi@lemmy.world avatar

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

slaecker,
@slaecker@lemmy.world avatar

Add –no-remote to start different profiles simultaneously.

Example:

firefox -P ‘Joel User’ --no-remote

CoderSupreme,

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:

  1. 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.
  2. Create a new script file, for example, launch_all_profiles.sh, and open it with a text editor.
  3. Add the following lines to the script, replacing Profile1, Profile2, etc., with the names of your actual profiles:

<span style="font-style:italic;color:#969896;">#!/usr/bin/env bash
</span><span style="color:#323232;">firefox --no-remote -P Profile1 </span><span style="font-weight:bold;color:#a71d5d;">&</span><span style="color:#323232;">amp</span><span style="font-weight:bold;color:#a71d5d;">;
</span><span style="color:#323232;">firefox --no-remote -P Profile2 </span><span style="font-weight:bold;color:#a71d5d;">&</span><span style="color:#323232;">amp</span><span style="font-weight:bold;color:#a71d5d;">;
</span><span style="font-style:italic;color:#969896;"># Add more lines for additional profiles if needed
</span>
  1. Save the file and make it executable by running the following command in the terminal:

<span style="color:#323232;">chmod +x launch_all_profiles.sh
</span>
  1. 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:

  1. Copy the original Firefox desktop file to your local applications directory:

<span style="color:#323232;">cp /usr/share/applications/firefox.desktop ~/.local/share/applications/
</span>
  1. Open the copied desktop file with a text editor:

<span style="color:#323232;">nano ~/.local/share/applications/firefox.desktop
</span>
  1. Find the line starting with Exec= and replace the existing command with the path to your launch_all_profiles.sh script. For example:

<span style="color:#323232;">Exec=/home/your_username/path/to/launch_all_profiles.sh
</span>
  1. 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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • oklahoma
  • Testmaggi
  • KbinCafe
  • Ask_kbincafe
  • KamenRider
  • All magazines