Using wrong icons for multiple Firefox launchers

Bug #1468273 reported by der_eismann on 2015-06-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Plank
Undecided
Unassigned

Bug Description

Hello everyone,

I am currently building some kind of thin client with Ubuntu MATE 15.04 (with Plank 0.9.0) for Raspberry Pi 2 and I wanted to use Plank to make it easier to use. My boss wants several Firefox launchers on the desktop / Plank (or at least two) so students have one launcher for the Intranet and one for the Internet where they have to login, both are loading different Firefox profiles.

Now comes the strange part, which is hard to explain. When I double-click the desktop launcher for Profile1, it uses the same icon in Plank as it uses on the desktop. But when I launch Profile1 from Plank, it uses the icon from Profile2, which you can see in the screenshot.

Can you follow my problem? And is there a workaround for this?

//Edit: Maybe this question is similar?
https://answers.launchpad.net/plank/+question/263909

Rico Tzschichholz (ricotz) wrote :
Changed in plank:
status: New → Incomplete
description: updated
Rico Tzschichholz (ricotz) wrote :

Take a look at this desktop-file to see how you can force a proper wmclass.

der_eismann (der-eismann) wrote :

I just found the solutions, thanks to you.

1. Step:
Set
    StartupWMClass=FirefoxTwo
in the *.desktop file

2. Step:
Also set the parameter
    firefox --class='FirefoxTwo'
when launching Firefox.

Now my icons are perfectly matched :) This can be closed then.

Launchpad Janitor (janitor) wrote :

[Expired for Plank because there has been no activity for 60 days.]

Changed in plank:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions