I created two distinct .desktop launchers for two different firefox profiles:
profile1.desktop
sudo gedit /usr/share/applications/firefox.desktop [Desktop Entry] Name=profile1 Keywords=profile1 Exec=firefox -P -no-remote profile1 Terminal=false X-MultipleArgs=false Type=Application Icon=profile1.png StartupNotify=true StartupWMClass=profile1
profile2.desktop
sudo gedit /usr/share/applications/firefox_profile2.desktop [Desktop Entry] Name=profile2 Keywords=profile2 Exec=firefox -P -no-remote profile2 Terminal=false X-MultipleArgs=false Type=Application Icon=profile2.png StartupNotify=true StartupWMClass=profile2
I then added each desktop launcher to the dashboard (via right-click > add to favorites). I am able to launch each profile from the respective launcher-icon in the dashboard. So far so good. However, when profile2 is launched, its window will be listed/collected under the profile1 (default) firefox dash icon, which can get quite confusing.
I would really like to display and collect windows from different firefox profiles under different dash items (i.e. icons in the dashboard). I suspect the problem is - since both .dekstop launchers execute different processes of the same /usr/bin/firefox command - that they are automatically collected under some firefox dash icon...
Does anyone have an idea how to resolve this issue?
sudo ln -s /usr/bin/firefox /usr/bin/firefox2
and usefirefox2
in the Exec line ofprofile2.desktop
.