[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: services: elogind-configuration: Disable hibernation key by defau
From: |
Mark H. Weaver |
Subject: |
03/03: services: elogind-configuration: Disable hibernation key by default. |
Date: |
Thu, 10 Sep 2015 23:49:56 +0000 |
mhw pushed a commit to branch master
in repository guix.
commit 574d9db2cefd225f3977ea051db7a286b792a9f6
Author: Mark H Weaver <address@hidden>
Date: Thu Sep 3 17:16:26 2015 -0400
services: elogind-configuration: Disable hibernation key by default.
* gnu/services/desktop.scm (<elogind-configuration>): Change the default
value
of the 'handle-hibernate-key' field to 'ignore'.
---
gnu/services/desktop.scm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 6017449..b91bdd8 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -439,7 +439,11 @@ the system if the user is logged in locally."
(handle-suspend-key elogind-handle-suspend-key
(default 'suspend))
(handle-hibernate-key elogind-handle-hibernate-key
- (default 'hibernate))
+ ;; (default 'hibernate)
+ ;; XXX Ignore it for now, since we don't
+ ;; yet handle resume-from-hibernation in
+ ;; our initrd.
+ (default 'ignore))
(handle-lid-switch elogind-handle-lid-switch
(default 'suspend))
(handle-lid-switch-docked elogind-handle-lid-switch-docked