A recent unreleased change in x11-wm/herbstluftwm fixes a desktop-file-validate error in (what is to be installed as) /usr/share/xsessions/herbstluftwm.desktop, and indeed on the latest release 0.8.2, desktop-file-validate invalidates the file in question: $ desktop-file-validate /usr/share/xsessions/herbstluftwm.desktop /usr/share/xsessions/herbstluftwm.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/share/xsessions/herbstluftwm.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") I guess doebuild.py should check that path as well? This catches quite a few errors: /usr/share/xsessions/herbstluftwm.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") /usr/share/xsessions/i3.desktop: error: file contains key "DesktopNames" in group "Desktop Entry", but keys extending the format should start with "X-" /usr/share/xsessions/icewm.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") /usr/share/xsessions/icewm.desktop: error: value "WindowManager;Application;System;" for key "Categories" in group "Desktop Entry" contains an unregistered value "WindowManager"; values extending the format should start with "X-" /usr/share/xsessions/icewm.desktop: error: file contains key "DesktopNames" in group "Desktop Entry", but keys extending the format should start with "X-" /usr/share/xsessions/icewm.desktop: error: file contains group "Window Manager", but groups extending the format should start with "X-" /usr/share/xsessions/icewm-session.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") /usr/share/xsessions/icewm-session.desktop: error: value "WindowManager;Application;System;" for key "Categories" in group "Desktop Entry" contains an unregistered value "WindowManager"; values extending the format should start with "X-" /usr/share/xsessions/icewm-session.desktop: error: file contains key "DesktopNames" in group "Desktop Entry", but keys extending the format should start with "X-" /usr/share/xsessions/icewm-session.desktop: error: file contains group "Window Manager", but groups extending the format should start with "X-" /usr/share/xsessions/pekwm.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") /usr/share/xsessions/subtle.desktop: error: value "XSession" for key "Type" in group "Desktop Entry" is not a registered type value ("Application", "Link" and "Directory") /usr/share/xsessions/wmfs.desktop: error: required key "Type" in group "Desktop Entry" is not present so I wonder if adding checks for /usr/share/xsessions/*.desktop is plausible at all.