When installing OpenOffice.org 2.0 Beta, the icons are places int he XFCE menus. However, each icon is set to launch the default OOo startup screen, rather than their individual applications. Clicking the Writer icon does not launch writer, but rather the standard OOo screen. The same goes for all icons in the XFCE menus. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Expected Results: Each individual icon in the menu should launch its specified application. For example, the OO Impress icon should launch OO Impress, not the OOo default screen.
the trouble here is caused by this function in xfdestop: line 89 of modules/menu/desktop-menu-dentry.c /* we don't want most command-line parameters if they're given. */ gchar * _sanitise_dentry_cmd(gchar *cmd) { gchar *p; /* this is the naive approach: if there's a '%' character in there, we're * going to strip all parameters. this may not be the best thing to do, * but anything smarter is non-trivial and slow. */ if(cmd && strchr(cmd, '%') && (p=strchr(cmd, ' '))) *p = 0; return cmd; } the easy way around it is to get openoffice/openoffice-bin to use "oowriter2 %U" rather than "ooffice2 -writer %U" in the .desktop files. The proper fix is to do proper filtering out parameters listed in http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html .
I had this problem before but it seems to start the correct application now with xfce-4.2.3 & OOo-2.0.1. Maybe this bug has been solved in the latest version.
please try latest version and reopen if still a problem, thanks