There's a merged pull request on the void-packages repository mate-screensaver: update to 1.22.1. https://github.com/void-linux/void-packages/pull/14599 Description: Switch from consolekit to elogind. I disabled consolekit explicetly due to #ifdefs in gs-listener-dbus.c No need to explicetly enable elogind in configure. Elogind ships a /usr/lib/pkgconfig/libsystemd.pc and a relevant simlinked include directory. Mate screen saver sources actually reuse the systemd #ifdef for elogind anyways. This was tested by closing and opening laptop lid as well as "loginctl lock-session".