Summary: | Incorrect icon launchers in XFCE menus | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Evan Goldenberg <evangoldenberg> |
Component: | Current packages | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | basic, hydonsingore |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Evan Goldenberg
2005-06-13 19:33:09 UTC
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 |