Under Gentoo Linux I get : $> unset DISPLAY xdg-screensaver status xset: unable to open display "" /usr/bin/xdg-screensaver: line 720: [: : integer expression expected /usr/bin/xdg-screensaver: line 722: [: : integer expression expected ERROR: xset q did not report the screensaver timeout
oh boy, indeed there's a big assumption in xdg-screensaver that this is all operating inside an X server (and that $DISPLAY is defined). I'll have to think about how best to handle this case.
fix applied, http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=44df1eae96e6bafeadfe80f07a441bc3ea5c0f2a
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.