Bug #5075

Desktop Entry File (Linux)

Added by Patrik Nilsson over 2 years ago. Updated about 1 month ago.

Status:Closed Start date:08/16/2017
Priority:Normal Due date:08/23/2017
Assignee:Patrik Nilsson % Done:

0%

Category:-
Target version:chirp-daily Estimated time:1.00 hour
Chirp Version:daily Platform:Linux
Model affected:(All models)

Description

The targeted desktop entry specification version is 0.1, while all modern desktop applications use 1.0+.
You can find the latest version of the specification here: https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

Based on what I can find I am unsure if version 0.1 has ever existed; maybe a typo? Anyhow there are several issues with the file that I intend to fix (or have already fixed rather).

Issues:

  • Update "Version" to 1.0
  • "GenericName" key should not mention CHIRP, which is not generic
  • "Comment" key "should not be redundant with the values of Name and GenericName" and format being incorrect: "Radio Programming Tool" instead of "Program amateur radios"
  • Fix hard-coded icon name extension (Breaks icon themes among other things)
  • Fix "Categories" using incorrect non-existing main category "Application"
  • Add ability to open files with chirpw
  • Add several "Keywords"

Associated revisions

Revision 2913:49c7636445b4
Added by Patrik Nilsson over 2 years ago

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

History

Updated by Bernhard Hailer about 1 month ago

  • Status changed from New to Closed
  • Target version set to chirp-daily

Appears to be complete.

Also available in: Atom PDF