Unity violates freedesktop.org desktop entry spec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
Fedora |
Won't Fix
|
Undecided
|
|||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It seems Unity has extra key in desktop files that are not part of the freedesktop.org desktop entry spec but are not prefixed with "X-" either. Example:
[Add Shortcut Group]
_Name=_Add download...
Exec=steadyflow add %s
TargetEnvironme
This is a violation of the freedesktop.org specs and prevents the files from being validated/installed with desktop-file-utils:
desktop-
/builddir/
This is fundamentally broken as it breaks compatibility with almost any desktop except Unity. Things will get worse when a growing number of Ubuntu developers start using the new keys.
I don't recall this being discussed on the xdg mailing list and https:/
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in fedora: | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
Description of problem:
It appears that a number of media players are adding the following entries to their .desktop files:
X-Ayatana- Desktop- Shortcuts= Play;Pause; Stop;Previous; Next;
[Play Shortcut Group] nt=Unity
Name=Play
Exec=clementine --play
TargetEnvironme
[Pause Shortcut Group] nt=Unity
Name=Pause
Exec=clementine --pause
TargetEnvironme
[Stop Shortcut Group] nt=Unity
Name=Stop
Exec=clementine --stop
TargetEnvironme
[Previous Shortcut Group] nt=Unity
Name=Previous
Exec=clementine --previous
TargetEnvironme
[Next Shortcut Group] nt=Unity
Name=Next
Exec=clementine --next
TargetEnvironme
Which result in the following errors:
/data/sw/ tmp/clementine. desktop: error: file contains group "Play Shortcut Group", but groups extending the format should start with "X-" tmp/clementine. desktop: error: file contains group "Pause Shortcut Group", but groups extending the format should start with "X-" tmp/clementine. desktop: error: file contains group "Stop Shortcut Group", but groups extending the format should start with "X-" tmp/clementine. desktop: error: file contains group "Previous Shortcut Group", but groups extending the format should start with "X-" tmp/clementine. desktop: error: file contains group "Next Shortcut Group", but groups extending the format should start with "X-"
/data/sw/
/data/sw/
/data/sw/
/data/sw/
Now, I have no idea if this is an accepted standard or not.
Version-Release number of selected component (if applicable): file-utils- 0.16-1. fc14.i686
desktop-