diff options
author | Ken Moore <ken@ixsystems.com> | 2018-05-21 12:17:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 12:17:00 -0400 |
commit | fe0c02f909b6e35ea6be796166fa4c4bf5160014 (patch) | |
tree | dae0d0735d04b433aae6467722f22af7639c1c10 | |
parent | Merge pull request #584 from rodlie/media (diff) | |
parent | OS: Support suspend on Slackware (diff) | |
download | lumina-fe0c02f909b6e35ea6be796166fa4c4bf5160014.tar.gz lumina-fe0c02f909b6e35ea6be796166fa4c4bf5160014.tar.bz2 lumina-fe0c02f909b6e35ea6be796166fa4c4bf5160014.zip |
Merge pull request #583 from rodlie/slackware
OS: Support suspend on Slackware
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-Slackware.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |