There is a new pull request by thomas-t-w against master on the void-packages repository https://github.com/thomas-t-w/void-packages mate-screensaver https://github.com/void-linux/void-packages/pull/14599 mate-screensaver: update to 1.22.1. 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". A patch file from https://github.com/void-linux/void-packages/pull/14599.patch is attached