Summary: | Fix validation errors for .desktop files | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Kurt Hindenburg <khindenburg> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED LATER | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kurt Hindenburg
2005-02-14 07:35:40 UTC
Note that those above are in kdebase/konsole/other/ All of the .desktop file in kdebase/konsole/ have a lot of errors/warnings. kcmkonsole.desktop konsolepart.desktop kwrited.desktop konsole.desktop konsole-script.desktop terminalemulator.desktop konsolehere.desktop konsolesu.desktop The .desktop file standard that the validator checks against is aimed at .desktop files that are used for the KDE menu and shared by other desktop environments. The .desktop files of konsole describe konsole sessions and are not used for the KDE menu. If you want to change it I suggest you give them another name, e.g. .session instead of .desktop for KDE 4. I'm not sue if that's worth it though, it will cause work for our users and the benefit is doubtful. O.K. I understand that for the other/*.desktop files. Perhaps I'll add a comment at the top of each file stating that. The .desktop files in kdebase/konsole look to be actual .desktop files... I only see konsolehere.desktop listed, that one is a Konqueror service menu file, not a file for the KDE menu. /kdebase/konsole)> find . -iname \*desktop | grep -v other ./kwrited.desktop ./konsole/x-konsole.desktop ./kcmkonsole.desktop ./terminalemulator.desktop ./konsole-script.desktop ./konsolehere.desktop ./konsolepart.desktop ./konsolesu.desktop ./konsole.desktop % find . -iname \*desktop | grep -v other | xargs -n1 desktop-file-validate Sample errors/warnings: ./konsole.desktop: warning: file contains key "DocPath", this key is currently reserved for use within KDE, and should in the future KDE releases be prefixed by "X-" ./konsole.desktop: warning: non-standard key "Test" lacks the "X-" prefix ./konsolehere.desktop: warning: file contains key "ServiceTypes", this key is currently reserved for use within KDE, and should in the future KDE releases be prefixed by "X-" ./konsolepart.desktop: warning: file specifies "Type=Service", this value for "Type" is currently reserved for use within KDE, and should in future KDE releases be prefixed by "X-" There do not appear to be any errors in that list, only warnings about problems which seem to apply to many other KDE applications as well ( eg. DocPath , ServiceTypes ). What usually happens in this case is that they will all be fixed together with a script of some sort. |