-   Linux - Software (
-   -   AWN Dock grouping (

schachwizard 05-23-2011 09:21 PM

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.

fci525 03-16-2012 09:31 AM

I realize this question was posted some time ago, but I just had the same problem. At least in the Ubuntu repositories, there's a package called "" that's basically just a dummy package for LibreOffice, so once you install it and run it, it runs LibreOffice Writer. But if you make that the command for your launcher, it groups the windows properly. As for what %U means, I don't know.

All times are GMT -5. The time now is 04:35 AM.