FS#74119 - [zettlr] Invalid desktop file entries

Attached to Project: Community Packages
Opened by Mark Wagie (yochananmarqos) - Monday, 14 March 2022, 19:33 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 07 April 2022, 15:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gendesk isn't creating the desktop file properly. See below.

Additional info:

❯ desktop-file-validate /usr/share/applications/zettlr.desktop
/usr/share/applications/zettlr.desktop: error: value "Office;;" for key "Categories" in group "Desktop Entry" contains an unregistered value ""; values extending the format should start with "X-"
/usr/share/applications/zettlr.desktop: error: (will be fatal in the future): value "text-markdown;;" for key "MimeType" in group "Desktop Entry" contains value "text-markdown" which is an invalid MIME type: "text-markdown" does not contain a subtype
/usr/share/applications/zettlr.desktop: error: (will be fatal in the future): value "text-markdown;;" for key "MimeType" in group "Desktop Entry" contains value "" which is an invalid MIME type: "" does not contain a subtype

Proper desktop file:

[Desktop Entry]
Version=1.0
Type=Application
Name=Zettlr
Comment=A Markdown Editor for the 21st century
Exec=zettlr
Icon=zettlr
Terminal=false
StartupNotify=false
Categories=Office;
MimeType=text/markdown;
StartupWMClass=Zettlr
This task depends upon

Closed by  Caleb Maclennan (alerque)
Thursday, 07 April 2022, 15:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  zettlr 2.2.4-3

Loading...