You are not logged in.
Hello,
Recently I noticed that when my laptop lid is closed my computer goes to sleep, which is a problem for me because for some reason sleep doesn't work and will cause my computer to freeze. In the xfce-power-manager I have it set to "switch off display" but every time I close my laptop lid, the computer goes to sleep anyway. I have TLP installed, but I dont think it's tlp because when I uninstalled the problem still existed. Does anyone have any ideas of how to help?
Please and hank you,
Disco
Offline
Guess what. Same issue, KDE. "nothing" set on lid close action in KCM power management module.
Offline
XFCE; happening here too with no sleep configured. Doesn't really bother me as it works fine when I reopen it and login, but still would like to know why.
Offline
What is in the HandleLidSwitch settings of logind.conf?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
Commented out.
Last edited by jeppybro (2016-09-01 02:16:21)
Offline
That's why it is suspending. That is the default unless you change it.
In most config files, commented out lines show the default value. You must uncomment the line and change the setting if you want different behavior.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I also have this issue with XFCE since updating:
cantarell-fonts (1:0.0.24-1 -> 1:0.0.25-1)
gstreamer (1.8.2-1 -> 1.8.3-1)
gst-plugins-base-libs (1.8.2-1 -> 1.8.3-1)
gst-libav (1.8.2-2 -> 1.8.3-1)
wildmidi (0.3.9-1 -> 0.4.0-1)
gst-plugins-bad (1.8.2-4 -> 1.8.3-1)
gst-plugins-base (1.8.2-1 -> 1.8.3-1)
gst-plugins-good (1.8.2-2 -> 1.8.3-1)
gst-plugins-ugly (1.8.2-1 -> 1.8.3-1)
gstreamer-vaapi (1.8.2-1 -> 1.8.3-1)
gstreamer0.10-bad (0.10.23-17 -> 0.10.23-18)
gstreamer0.10-bad-plugins (0.10.23-17 -> 0.10.23-18)
lib32-lcms2 (2.7-1 -> 2.8-1)
libwacom (0.21-1 -> 0.22-1)
linux (4.7-1 -> 4.7.1-1)
linux-headers (4.7-1 -> 4.7.1-1)
poppler (0.46.0-2 -> 0.47.0-1)
poppler-glib (0.46.0-2 -> 0.47.0-1)
poppler-qt4 (0.46.0-2 -> 0.47.0-1)
poppler-qt5 (0.46.0-2 -> 0.47.0-1)
python2-cryptography (1.4-1 -> 1.4-2)
xfsprogs (4.5.0-1 -> 4.7.0-1)
I'm not sure 100% that this was the problematic upgrade since the only relevant package would be the kernel. And switching to the LTS kernel didn't fix the issue.
That's why it is suspending. That is the default unless you change it.
In most config files, commented out lines show the default value. You must uncomment the line and change the setting if you want different behavior.
Does anyone know why the XFCE and KDE power managers can't override this setting anymore?
Offline
I changed /etc/systemd/logind.conf and still the same issue.
Here are relevant files if it can help with the issue.
~/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
[...]
<property name="lid-action-on-battery" type="uint" value="0"/>
<property name="logind-handle-lid-switch" type="bool" value="false"/>
<property name="lid-action-on-ac" type="uint" value="0"/>
/etc/systemd/logind.conf
[...]
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore # default: 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%
Offline
I've finally found the cause of my issue.
I wrote `HandleLidSwitch=ignore # default: suspend` which is invalid and lead to
systemd-logind[8925]: [/etc/systemd/logind.conf:24] Failed to parse handle action setting, ignoring: ignore # default: suspend
when loading the conf.
So moving the comment on the next line solved the issue. Thanks sharing your issues and advice!
Offline