summary refs log tree commit diff
path: root/gnu/services/desktop.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-09-03 17:16:26 -0400
committerMark H Weaver <mhw@netris.org>2015-09-10 19:46:30 -0400
commit574d9db2cefd225f3977ea051db7a286b792a9f6 (patch)
treefb1f736a09879b064cec62913bc15e848c077b5d /gnu/services/desktop.scm
parent4307c476c407982ee80e6aa2de4a7e2209789912 (diff)
downloadguix-574d9db2cefd225f3977ea051db7a286b792a9f6.tar.gz
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'.
Diffstat (limited to 'gnu/services/desktop.scm')
-rw-r--r--gnu/services/desktop.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 6017449194..b91bdd8ad3 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