From d9d85cbfcc1c76083ae9f2af9fddd6579e9d0627 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Mon, 3 Jun 2024 19:44:05 +0200 Subject: [PATCH] impr: Added keywords to .desktop file (#1732) ### Problem description This adds a list of strings which may be used in addition to other metadata to describe the application. This can be useful e.g. to facilitate searching through entries. Reference: https://webcache.googleusercontent.com/search?q=cache:https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html (The original site is currently down due to a Gitlab upgrade) These keywords are used by [Flathub](https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#launchable), [KDE Discover](https://discuss.kde.org/t/does-kde-discover-parse-the-desktop-file-for-categories-and-keywords/7041) and [Gnome Software](https://blogs.gnome.org/hughsie/2016/01/07/the-importance-of-keywords-for-the-software-center/). ### Implementation description Add a `Keywords` entry to the .desktop file. ### Screenshots Here's how the tags are displayed for TeXstudio on its Flathub page: ![image](https://github.com/WerWolv/ImHex/assets/3226457/35e00272-433e-46cd-9a9e-c42913aefe3f) ### Additional things --- dist/imhex.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/imhex.desktop b/dist/imhex.desktop index 9bc9dada4..5e02c8ace 100644 --- a/dist/imhex.desktop +++ b/dist/imhex.desktop @@ -8,3 +8,4 @@ Type=Application StartupNotify=true Categories=Development;IDE; StartupWMClass=imhex +Keywords=static-analysis;reverse-engineering;disassembler;disassembly;hacking;forensics;hex-editor;cybersecurity;security;binary-analysis;