You are not logged in.
I have been tinkering around trying to get my laptop to go into hibernate mode when I shut the lid. However the screen merely shuts off it does not lock or suspend (things like movies continue playing and the keyboard lights stay on).
I have been playing around with settings in /etc/systemd/logind.conf
here are its current contents
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=hybrid-sleep
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=33%
Edit:
I have also tried changing
HandleLidSwitch=hybrid-sleep
## To other things such as suspend and lock to no avail
Last edited by jbenge1 (2018-04-17 16:16:20)
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Offline
KDE plasma 5
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
I think that Powerdevil overrides logind.conf, have you tried configuring it via systemsettings?
Offline
systemsettings as in the the GUI version of systemsettings? because I haven't found anywhere in them that has anything related to putting the laptop into hybernate mode...
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Post journalctl output around the time you close the lid.
Offline
the output of journalctl -f when closing and opening the lid
Apr 16 21:16:29 zenbook-justin systemd-logind[2656]: Lid closed.
Apr 16 21:16:29 zenbook-justin org_kde_powerdevil[10132]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 0)))
Apr 16 21:16:33 zenbook-justin systemd-logind[2656]: Lid opened.
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Give this a try: https://bbs.archlinux.org/viewtopic.php … 6#p1645436
Offline
I've already edited the /etc/systemd/logind.conf and whenever i do systemctl restart systemd-logind, nothing changes and the screen flashes between just a CLI and my DE (if that makes sense...)
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
@jbenge1 https://i.imgur.com/9Fe0Ra0.png
Offline