Description of problem: The .desktop file from kdiff3 causes fluxbox-xdg-menu to fail This is due to the Exec being missing from the file. Adding in the line below resolved the issue 7d6 < Exec=kdiff3 Version-Release number of selected component (if applicable): How reproducible: Everytime Steps to Reproduce: 1. Install kdiff3 and fluxbox 2. Run fluxbox-xdg-menu Actual results: Traceback (most recent call last): File "/usr/bin/fluxbox-xdg-menu", line 262, in <module> main(sys.argv[1:]) File "/usr/bin/fluxbox-xdg-menu", line 248, in main parseMenu(menu,wm,use_icons,theme) File "/usr/bin/fluxbox-xdg-menu", line 115, in parseMenu parseMenu(entry,wm,use_icons,theme,depth) File "/usr/bin/fluxbox-xdg-menu", line 124, in parseMenu print "%s[exec] (%s) {%s} " % ( (depth*"\t"), appname, entry.DesktopEntry.getExec().split()[0] ) IndexError: list index out of range Expected results: Menu generated Additional info:
I forgot to include the version, sorry. kdiff3-0.9.92-13.fc9.i386
Sorry, I don't understand. I have rpm -q kdiff3 kdiff3-0.9.92-13.fc9.x86_64 /usr/share/applications/fedora-kdiff3.desktop says: Exec=kdiff3 %i %m -caption "%c" You don't have this?
I have that file and it is correct however the file fluxbox-xdg-menu is having an issue with is /usr/share/applications/kde/kdiff3plugin.desktop
This doesn't seem to be the correct fix: + desktop-file-install --vendor= --dir /var/tmp/rpm/kdiff3-0.9.92-15.fc10-root- /var/tmp/rpm/kdiff3-0.9.92-15.fc10-root- /var/tmp/rpm/kdiff3-0.9.92-15.fc10-root- present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application" Error on file "/var/tmp/rpm/kdiff3-0.9.92-15.fc10-root- created desktop file error: Bad exit status from /var/tmp/rpm/rpm-tmp.24814 (%install)
Agreed, I would suggest then that maybe the fluxbox-xdg-menu should be excluding that type of .desktop file however it is not. Should this be a bug filled against that package, sorry but I am unaware of the Fedora menu policy. Just let me know what I have to do. Thanks again.
Sorry, I'm no expert. Could you please ask on fedora-devel list? If you don't have access, I could do it for you.