aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Linux.cpp
diff options
context:
space:
mode:
authorJesse Smith <jsmith@resonatingmedia.com>2015-05-22 15:09:16 -0300
committerJesse Smith <jsmith@resonatingmedia.com>2015-05-22 15:09:16 -0300
commit9cbe7794d1bfaf2221ef768395590a23a2b8d907 (patch)
tree9e694a7417ed337e518d4e575d81e1a0a1f71524 /libLumina/LuminaOS-Linux.cpp
parentFinish cleaning up the new CPU/Memory desction routines in libLumina, and add... (diff)
downloadlumina-9cbe7794d1bfaf2221ef768395590a23a2b8d907.tar.gz
lumina-9cbe7794d1bfaf2221ef768395590a23a2b8d907.tar.bz2
lumina-9cbe7794d1bfaf2221ef768395590a23a2b8d907.zip
Make sure disabled numlock stays off. Updated Linux shutdown command.
This patch primarily fixes two minor issues. 1. When number lock is disabled in the session settings, it should now turn off when Lumina starts. 2. In the Linux portion of libLumina, the shutdown command has been updated. 3. A minor typo was fixed in the dependency list.
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r--libLumina/LuminaOS-Linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp
index e60677d5..2368f773 100644
--- a/libLumina/LuminaOS-Linux.cpp
+++ b/libLumina/LuminaOS-Linux.cpp
@@ -141,7 +141,7 @@ bool LOS::userHasShutdownAccess(){
//System Shutdown
void LOS::systemShutdown(){ //start poweroff sequence
- QProcess::startDetached("shutdown -h now");
+ QProcess::startDetached("shutdown -P -h now");
}
//System Restart
bgstack15