Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox displays the same name in the title bar for different profiles

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par Alex

more options

In Linux Ubuntu I created 4 different launchers for 4 profiles.

Firefox opens the different profiles correctly, but the name of Profile 4 is displayed in the title bar for all windows. This causes confusion when I'm using the different profiles. Furthermore, the icon displayed in the icon bar is also the same for the 4 profiles, although I have configured a different icon for each profile. I ask for help as I need each instance to have its own name and icon displayed correctly.

The launchers look like this:

firefox-profile1.desktop: Name= Profile 1 Exec=firefox -P profile1 --no-remote Icon=~/.local/share/icons/profile1.png

firefox-profile2.desktop Name=Profile 2 Exec=firefox -P profile2 --no-remote Icon=~/.local/share/icons/profile2.png

firefox-profile3.desktop Name=Profile 3 Exec=firefox -P profile3 --no-remote Icon=~/.local/share/icons/profile3.png

firefox-profile4.desktop Name=Profile 4 Exec=firefox -P profile4 --no-remote Icon=~/.local/share/icons/profile4.png

In Linux Ubuntu I created 4 different launchers for 4 profiles. Firefox opens the different profiles correctly, but the name of Profile 4 is displayed in the title bar for all windows. This causes confusion when I'm using the different profiles. Furthermore, the icon displayed in the icon bar is also the same for the 4 profiles, although I have configured a different icon for each profile. I ask for help as I need each instance to have its own name and icon displayed correctly. The launchers look like this: '''firefox-profile1.desktop:''' Name= Profile 1 Exec=firefox -P profile1 --no-remote Icon=~/.local/share/icons/profile1.png '''firefox-profile2.desktop''' Name=Profile 2 Exec=firefox -P profile2 --no-remote Icon=~/.local/share/icons/profile2.png '''firefox-profile3.desktop''' Name=Profile 3 Exec=firefox -P profile3 --no-remote Icon=~/.local/share/icons/profile3.png '''firefox-profile4.desktop''' Name=Profile 4 Exec=firefox -P profile4 --no-remote Icon=~/.local/share/icons/profile4.png

Modifié le par Alex

Solution choisie

Ok, I found the solution:

Just add --class profile1 (for X11) or --name profile1 (for Wayland) in the exec command and in the StartupWMClass=profile1 line in the .desktop file.

The .desktop file for Profile1 looked like this:

firefox-profile1.desktop: Name= Profile 1 Exec=firefox -P profile1 --class profile1 --no-remote Icon=~/.local/share/icons/profile1.png StartupWMClass=profile1

Credits: https://www.reddit.com/r/firefox/comments/vm1d6b/comment/ie1feqf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (1)

more options

Solution choisie

Ok, I found the solution:

Just add --class profile1 (for X11) or --name profile1 (for Wayland) in the exec command and in the StartupWMClass=profile1 line in the .desktop file.

The .desktop file for Profile1 looked like this:

firefox-profile1.desktop: Name= Profile 1 Exec=firefox -P profile1 --class profile1 --no-remote Icon=~/.local/share/icons/profile1.png StartupWMClass=profile1

Credits: https://www.reddit.com/r/firefox/comments/vm1d6b/comment/ie1feqf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.