Firefox profiles with different icons in Ubuntu dock
up vote
6
down vote
favorite
Ubuntu 17.10 (xorg), GNOME 3.26.2, Firefox 58.0 (64 bit).
I have a few Firefox profiles setup. When I run each profile, I would like it to be a separate icon on the dock. How do I make that happen? Right now what happens is that they are all grouped in the standard Firefox icon.
firefox gnome-shell ubuntu-dock dock
add a comment |
up vote
6
down vote
favorite
Ubuntu 17.10 (xorg), GNOME 3.26.2, Firefox 58.0 (64 bit).
I have a few Firefox profiles setup. When I run each profile, I would like it to be a separate icon on the dock. How do I make that happen? Right now what happens is that they are all grouped in the standard Firefox icon.
firefox gnome-shell ubuntu-dock dock
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
Ubuntu 17.10 (xorg), GNOME 3.26.2, Firefox 58.0 (64 bit).
I have a few Firefox profiles setup. When I run each profile, I would like it to be a separate icon on the dock. How do I make that happen? Right now what happens is that they are all grouped in the standard Firefox icon.
firefox gnome-shell ubuntu-dock dock
Ubuntu 17.10 (xorg), GNOME 3.26.2, Firefox 58.0 (64 bit).
I have a few Firefox profiles setup. When I run each profile, I would like it to be a separate icon on the dock. How do I make that happen? Right now what happens is that they are all grouped in the standard Firefox icon.
firefox gnome-shell ubuntu-dock dock
firefox gnome-shell ubuntu-dock dock
edited Sep 30 at 11:24
pomsky
27.6k1185111
27.6k1185111
asked Jan 29 at 0:34
dln949
3511412
3511412
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Edit profile's .desktop file:
- add
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article) - add new key
StartupWMClass=SomeClass
to the end of file (see this article and desktop entry specification)
The string SomeClass
must be the same in both changes.
Example .desktop file:
[Desktop Entry]
Name=Firefox Test
Exec=firefox -p test -no-remote --class FxTest
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/custom/icon.png
StartupWMClass=FxTest
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
Did you add both changes (--class SomeClass
andStartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the stringSomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.
– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
This bug suggests that gnome is not honoring the--class
option
– JellicleCat
Nov 30 at 20:31
|
show 2 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Edit profile's .desktop file:
- add
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article) - add new key
StartupWMClass=SomeClass
to the end of file (see this article and desktop entry specification)
The string SomeClass
must be the same in both changes.
Example .desktop file:
[Desktop Entry]
Name=Firefox Test
Exec=firefox -p test -no-remote --class FxTest
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/custom/icon.png
StartupWMClass=FxTest
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
Did you add both changes (--class SomeClass
andStartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the stringSomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.
– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
This bug suggests that gnome is not honoring the--class
option
– JellicleCat
Nov 30 at 20:31
|
show 2 more comments
up vote
3
down vote
accepted
Edit profile's .desktop file:
- add
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article) - add new key
StartupWMClass=SomeClass
to the end of file (see this article and desktop entry specification)
The string SomeClass
must be the same in both changes.
Example .desktop file:
[Desktop Entry]
Name=Firefox Test
Exec=firefox -p test -no-remote --class FxTest
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/custom/icon.png
StartupWMClass=FxTest
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
Did you add both changes (--class SomeClass
andStartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the stringSomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.
– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
This bug suggests that gnome is not honoring the--class
option
– JellicleCat
Nov 30 at 20:31
|
show 2 more comments
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Edit profile's .desktop file:
- add
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article) - add new key
StartupWMClass=SomeClass
to the end of file (see this article and desktop entry specification)
The string SomeClass
must be the same in both changes.
Example .desktop file:
[Desktop Entry]
Name=Firefox Test
Exec=firefox -p test -no-remote --class FxTest
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/custom/icon.png
StartupWMClass=FxTest
Edit profile's .desktop file:
- add
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article) - add new key
StartupWMClass=SomeClass
to the end of file (see this article and desktop entry specification)
The string SomeClass
must be the same in both changes.
Example .desktop file:
[Desktop Entry]
Name=Firefox Test
Exec=firefox -p test -no-remote --class FxTest
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/custom/icon.png
StartupWMClass=FxTest
edited Jul 13 at 21:25
answered Jul 12 at 11:36
grisfer
1465
1465
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
Did you add both changes (--class SomeClass
andStartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the stringSomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.
– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
This bug suggests that gnome is not honoring the--class
option
– JellicleCat
Nov 30 at 20:31
|
show 2 more comments
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
Did you add both changes (--class SomeClass
andStartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the stringSomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.
– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
This bug suggests that gnome is not honoring the--class
option
– JellicleCat
Nov 30 at 20:31
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
grisfer, this answer appears to work for the question I asked, so thank you. However..... While I do now have distinct icons on the dock, they are all the official Firefox icon, and not the icon I specified in the desktop file. (I realize that is not part of my original question.)
– dln949
Jul 13 at 0:45
1
1
Did you add both changes (
--class SomeClass
and StartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the string SomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.– grisfer
Jul 13 at 11:25
Did you add both changes (
--class SomeClass
and StartupWMClass=SomeClass
)? If only the first, then the icons will be distinct, but with the standard image. Also, the string SomeClass
must be the same in both changes. If the strings are different then icons will be with the standard image.– grisfer
Jul 13 at 11:25
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
I added both, using the exact same string. Result was it used the Firefox icon, not the icon I specified.
– dln949
Jul 13 at 17:29
1
1
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
Unfortunately, I don't know. It works for me (I have a custom icon).
– grisfer
Jul 13 at 21:16
1
1
This bug suggests that gnome is not honoring the
--class
option– JellicleCat
Nov 30 at 20:31
This bug suggests that gnome is not honoring the
--class
option– JellicleCat
Nov 30 at 20:31
|
show 2 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000818%2ffirefox-profiles-with-different-icons-in-ubuntu-dock%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown