Bug 678827

Summary: Openbox Doesn't Open KDE .desktop Files
Product: [Fedora] Fedora Reporter: Jimmy Collins <revjdc>
Component: openboxAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: ejsheldrake, mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openbox-3.5.0-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-10 13:42:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix xdg-menu for KDE -caption .desktop files none

Description Jimmy Collins 2011-02-20 02:46:49 UTC
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.

Comment 1 Edward Sheldrake 2011-08-20 12:16:05 UTC
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"'.

Comment 2 Miroslav Lichvar 2011-09-30 11:41:20 UTC
Included in openbox-3.5.0-2. Thanks!

Comment 3 Fedora Update System 2011-09-30 11:52:29 UTC
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

Comment 4 Fedora Update System 2011-09-30 18:36:24 UTC
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).