support for DesktopNames in the session.desktop files
Support for session files. .desktop session files, as well as menu .desktop files and autostart .desktop files all have Type=Application and the almost the same set of keys as menu .desktop files and autostart .desktop files but also can have DesktopNames key as said in https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys : "$XDG_CURRENT_DESKTOP should have been set by the login manager, according to the value of the DesktopNames found in the session file. The entry in the session file has multiple values separated in the usual way: with a semicolon. ..."
as of now desktop-file-validate does not support DesktopNames key: desktop-file-validate /usr/share/xsessions/icewm-session.desktop /usr/share/xsessions/icewm-session.desktop: error: file contains key "DesktopNames" in group "Desktop Entry", but keys extending the format should start with "X-"
The proposed patch adds support for DesktopNames key.