You can set WM_CLASS on chromium apps with the --class parameter.
As in:
Exec=chromium-browser --app="YOURURL" --class=YOURCLASS
For more than one app you have to launch each one with a unique --user-data-dir parameter. The full Exec line in your *.desktop should be something like this:
Downside:
Chromium seems to ignore xdg-open rules when clicking an external link in an app. For example I use Firefox as my main browser and Chromium for webapps (simply because setting WM_CLASS in Prism/Firefox seems to be broken for a long time now), clicking an external link in my Google Reader app spawns a new Chromium window with its parent WM_CLASS.
You can set WM_CLASS on chromium apps with the --class parameter.
As in: browser --app="YOURURL" --class=YOURCLASS
Exec=chromium-
For more than one app you have to launch each one with a unique --user-data-dir parameter. The full Exec line in your *.desktop should be something like this:
Exec=chromium- browser --user- data-dir= /UNIQUE/ PATH/1 --app="YOURURL1" --class=YOURCLASS1
Downside:
Chromium seems to ignore xdg-open rules when clicking an external link in an app. For example I use Firefox as my main browser and Chromium for webapps (simply because setting WM_CLASS in Prism/Firefox seems to be broken for a long time now), clicking an external link in my Google Reader app spawns a new Chromium window with its parent WM_CLASS.