Bug 391480 - Missing Keywords entry in desktop file
Summary: Missing Keywords entry in desktop file
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-06 20:18 UTC by Scarlett Moore
Modified: 2019-07-15 15:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scarlett Moore 2018-03-06 20:18:20 UTC
While packaging for debian I ran into.

I: latte-dock: desktop-entry-lacks-keywords-entry usr/share/applications/org.kde.latte-dock.desktop
N: 
N:    This .desktop file does either not contain a "Keywords" entry or it does
N:    not contain any keywords not already present in the "Name" or
N:    "GenericName" entries.
N:    
N:    .desktop files are organized in key/value pairs (similar to .ini files).
N:    "Keywords" is the name of the entry/key in the .desktop file containing
N:    keywords relevant for this .desktop file.
N:    
N:    The desktop-file-validate tool in the desktop-file-utils package is
N:    useful for checking the syntax of desktop entries.
N:    
N:    Refer to
N:    https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html,
N:    https://bugs.debian.org/693918, and
N:    https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords for
N:    details.
N:    
N:    Severity: wishlist, Certainty: certain
N:    
N:    Check: menu-format, Type: binary
Comment 1 Michail Vourlakos 2018-03-07 18:20:00 UTC
I have just checked most plasma/kde desktop files under Neon. All of them do not contain Keywords record, such as org.kde.dolphin, org.kde.kate etc...

All of them are failing in debian?
Comment 2 Michail Vourlakos 2018-03-07 18:22:38 UTC
and also checked at https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

KEYWORDS is not required
Comment 3 Scarlett Moore 2018-03-21 15:06:47 UTC
It is only I - so information. It would not fail the build completely. Feel free to close.
Comment 4 Michail Vourlakos 2018-03-21 15:28:46 UTC
(In reply to Scarlett Clark from comment #3)
> It is only I - so information. It would not fail the build completely. Feel
> free to close.

I can add it but in order to be sure how the strings should be separated can you show me an example how it should look like?
Comment 5 Scarlett Moore 2019-07-15 15:28:31 UTC
_Keywords=dock;anythingthatcouldresultlattedockinsearch;

This goes in the desktop.in file, remove leading underscore if not generated.