AWN Dock grouping
I just installed AWN a few days ago, and I think it's great. I've enabled window grouping, so a launcher will contain any open windows from the same program.
This works for all the applications I've dragged from the Gnome menu to the AWN dock, except for LibreOffice. For example, if I click a .txt file in Nautilus, it opens in gedit, and the launcher on the AWN dock contains that window. Also, if I click the launcher with no windows open, the new txt file's window is contained in the gedit launcher.
However, if I click a .doc file in Nautilus, it opens, but a new icon is created on the AWN dock. If I open a new document from the LibreOffice Writer launcher, however, it stays grouped with the launcher.
I've done some poking around, and found that the LibreOffice Writer link in the Gnome menu issues the command: "libreoffice -writer %U". However, the "Open With" dialog of Nautilus seems to say that the default application to open .doc files issues the command: "libreoffice".
Is the different command causing AWN dock to create different icons? If so, how can I change the Open With dialog in Nautilus to issue "libreoffice -writer %U" instead of merely "libreoffice"? I say this way, and not changing the Gnome menu item, because changing that to "libreoffice" would merely open the splash screen for LibreOffice.
In a secondary question, what does %U mean, and what do other letters like that mean?
Thanks in advance for any help.