Description of problem: The openbox desktop menu won't open most of KDE's .desktop files. Version-Release number of selected component (if applicable): 3.4.x (behavior observed in multiple versions) How reproducible: use the right-click menu in Openbox to try to open a KDE application Actual results: none Expected results: application opens Additional info: Deleting the [-caption "%c"] argument from the "exec" line of the .desktop file solves the problem, but I'd have to do it for every KDE .desktop file. Behavior observed on multiple computers, both 32 and 64 bit.
Created attachment 519139 [details] fix xdg-menu for KDE -caption .desktop files The menu is generated by the xdg-menu python script, it already removes the %F style field codes, but doesn't handle -caption "%c", plus leaving -caption with no argument doesn't work. The patch fixes xdg-menu, so that it replaces '-caption "%c"' with '-caption "Name"'.
Included in openbox-3.5.0-2. Thanks!
openbox-3.5.0-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/openbox-3.5.0-2.fc16
Package openbox-3.5.0-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openbox-3.5.0-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/openbox-3.5.0-2.fc16 then log in and leave karma (feedback).