Comment 1 for bug 1631707

Revision history for this message
Fitzcarraldo (fitzcarraldo) wrote :

I have created a patch for lightdm-1.18.3/liblightdm-gobject/power.c and it enables me to use Suspend and Hibernate in a non-systemd Gentoo Linux installation (it uses Gentoo ebuilds openrc-0.22.4, consolekit-1.1.0-r1, upower-0.99.4 and pm-utils-1.4.1-r7). Further details (including the patch) can be viewed via the following two links:

https://forums.gentoo.org/viewtopic-t-1057292.html

https://bugs.gentoo.org/show_bug.cgi?id=605370

I'm currently using it with KDE Plasma 5.8.3 and the LightDM GTK Greeter (Gentoo ebuild lightdm-gtk-greeter-2.0.1-r1) rather than the LightDM KDE Greeter (light-kde-0.3.2.1-r1). This is because the current upstream source code for the LightDM KDE Greeter is several years old and appears to require upower <0.99.0. Suspend/Hibernate (and Restart/Shutdown) work fine with the patched LightDM and LightDM GTK Greeter, though.