Multiple WM_CLASS values for a single unity launcher item

Asked by Ben

I currently have an askubuntu question, and based on the answer (which I think I have verified), it appears as though having one unity launcher icon (created with a .desktop file) that groups correctly for an application with varying WM_CLASS values is not possible with bamf:

http://askubuntu.com/questions/248826/set-multiple-values-for-startupwmclass-to-group-under-same-launcher-in-unity/294350?noredirect=1#294350

So if I have my application "MYAPP", that opens two windows with WM_CLASS values of "MYWM 1" and "MYWM 2" is it possible to match that to the same unity icon and group them correctly using unity? If yes, any hints on how to do that?

If not (which I suspect), is it correct that it is bamf missing the inclusion of the feature or is it another component which is not able to accomodate this (from what I can see, it could also be the .desktop file syntax spec)?

Or is it the applications (there are a lot that do it), letting us down by not endeavouring to provide one consistent WM_CLASS value?

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
BAMF Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Mészáros Máté Róbert (mrmeszaros) said :
#2

In GNOME Shell extension preferences use WM_CLASS(STRING) = "gnome-shell-extension-prefs", "Gnome-shell-extension-prefs".
It would be reallz nice if those preferences files could be grouped together with Gnome Tweaks (the main waz on opening the aforementioned preferences windows):
WM_CLASS(STRING) = "gnome-tweaks", "Gnome-tweaks"