Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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 "openoffice.org-writer" 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.