From 3ed22798c7fd4636f7e695688fe869cfd6c31610 Mon Sep 17 00:00:00 2001 From: Ole-André Rodlie Date: Fri, 11 May 2018 00:07:58 +0200 Subject: OS: Support suspend on Slackware --- src-qt5/core/libLumina/LuminaOS-Slackware.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core') diff --git a/src-qt5/core/libLumina/LuminaOS-Slackware.cpp b/src-qt5/core/libLumina/LuminaOS-Slackware.cpp index 5e2c6561..91085bbd 100644 --- a/src-qt5/core/libLumina/LuminaOS-Slackware.cpp +++ b/src-qt5/core/libLumina/LuminaOS-Slackware.cpp @@ -163,12 +163,12 @@ void LOS::systemRestart(bool){ //start reboot sequence //Check for suspend support bool LOS::systemCanSuspend(){ - return false; + return true; } //Put the system into the suspend state void LOS::systemSuspend(){ - + QProcess::startDetached("dbus-send --system --print-reply=literal --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend"); } //Battery Availability -- cgit