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.
Edit profile's .desktop file:
--class SomeClass
to the end ofExec
key to change program's WM_CLASS value (see this article)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:
Copy the firefox icon file.
In the new file edit 4 lines, using the full path for the executable and icon. The icon shown below is a blue colored version of the firefox icon.
Then follow the instructions here to put the new icon file in the gnome registry.
Navigate to
org.gnome.shell favorite-apps
and add in your new iconIt may necessary to log out and log back in before using the icon.