value "dsview.svg" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path.
Signed-off-by: Huang Rui <vowstar@gmail.com>
TryExec: If the path is not an absolute path, the file is looked
up in the $PATH environment variable. If the file is not present
or if it is not executable, the entry may be ignored
(not be used in menus, for example).
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
Signed-off-by: Huang Rui <vowstar@gmail.com>
Under some linux distro, program may not installed in /usr/local/bin/
Debian/Ubuntu/RHEL uses /usr/bin as package default install path
Signed-off-by: Huang Rui <vowstar@gmail.com>
Fix error: value "0.96" for key "Version" in group "Desktop Entry"
is not a known version.
Version of the Desktop Entry Specification that the desktop entry
conforms with. Entries that confirm with this version of the
specification should use 1.1. Note that the version field is not
required to be present, so I removed it.
See also: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
Signed-off-by: Huang Rui <vowstar@gmail.com>