Forward freedesktop.org Idle Inhibition Service calls to Xss
xssproxy implements the org.freedesktop.ScreenSaver D-Bus interface described
in the Idle Inhibition Service Draft by the freedesktop.org
developers.
The inhibition of the screensaver is then controlled using the
XScreenSaverSuspend
function from the
Xss (X11 Screen Saver extension) library.
To use run in your ~/.xinitrc file. The program doesn't return so you need to run it in the background.
xssproxy &
To ignore some applications, like Firefox, use -i firefox
.
sudo apt-get install xssproxy
nix-env -i xssproxy
make
make install