Preview the value of the DesktopEntry property Name

dex

  • DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type.
    More information: <https://github.com/jceb/dex>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

dex --property {{Name}} {{path/to/file.desktop}}

click the source code to copy install dex on any operating system with command-not-found.com