Saturday, October 1, 2016

launcher - How to display windows of two different firefox profiles under different dash icons?

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?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...