[chirp_devel] Patch that updates desktop entry file (Linux)
Patrik Nilsson
Wed Aug 16 07:19:07 PDT 2017
# HG changeset patch
# User Patrik Nilsson <asavartzeth at gmail.com>
# Date 1502892912 -7200
# Wed Aug 16 16:15:12 2017 +0200
# Node ID 49c7636445b4ec7a9ad101ca99b294f3e4ff8bde
# Parent c56244c58fe85688ef0da20a3f7bfebc0f447e6c
Fix Linux/Unix desktop entry file Fixes #5075 #3491
- Update "Version" to 1.0
- Fix "GenericName" not being generic
- Fix "Comment" being redundant with "GenericName" and wrong format
- Fix hard-coded icon extension
- Fix "Categories" using incorrect non-existing main category "Application",
using "Utility" instead.
- Add ability to open files with chirpw (based on Debian patch)
- Add several "Keywords" for discoverability
Fixing the hard-coded icon enables theming and is a pre-requsite for
adding a scalable icon and/or icons of different sizes. It should also
resolve bug #3491.
The latest version of the Freedesktop specification can be found at:
https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
A table of acceptable main categories can be found at:
https://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry
diff -r c56244c58fe8 -r 49c7636445b4 share/chirp.desktop
--- a/share/chirp.desktop Mon Jul 10 17:45:50 2017 -0400
+++ b/share/chirp.desktop Wed Aug 16 16:15:12 2017 +0200
@@ -1,13 +1,13 @@
[Desktop Entry]
-Version=0.1
-Encoding=UTF-8
Type=Application
-Exec=chirpw
-Icon=chirp.png
+Version=1.0
+Name=CHIRP
+GenericName=Radio Programming Tool
+Comment=Program amateur radios
+Icon=chirp
+Exec=chirpw %F
+Terminal=false
+MimeType=inode/directory
+Categories=Utility;HamRadio
+Keywords=Hamradio;Programming;Handheld;Radio;Amateur;Programmer
StartupNotify=true
-Terminal=false
-Categories=Application;HamRadio
-MimeType=inode/directory
-Name=CHIRP
-Comment=CHIRP Radio Programming Tool
-GenericName=CHIRP Radio Programming Tool
More information about the chirp_devel
mailing list