When I have multiple Chrome windows open, Docky correctly groups them into one icon on the dock. However, what I want to do is launch a Chrome application launcher (with the --app= command line switch) and have it launch to a separate icon that operates completely independently from my regular Chrome icon.
I can currently achieve only part of this. Following the advice here (http://goo.gl/OiTUz) I created the following launcher for Gmail, with an altered StartupWMClass, which I then dropped onto the dock:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Name=Gmail Exec=/opt/google/chrome/google-chrome --app="https://mail.google.com/mail" Terminal=true Icon=chrome-https___mail.google.com_mail Type=Application Categories=Network;WebBrowser; StartupWMClass=chrome-gmail Name[en_US]=Gmail
That launcher does create a separate icon in the dock, and that icon only contains the application mode window created by this launcher. However, my pre-existing Chrome launcher also matches the application mode window and snares it as well. For example, if I have three regular Chrome windows open and click the Gmail launcher above, the Gmail icon will only contain the application mode window, but the regular Chrome icon will now contain four windows.
Is there something else I can do to make the application mode window ONLY match to the application mode launcher?
Currently on a machine with Ubuntu 10.04 and Docky 2.1.0 from the Docky PPA.