TransWikia.com

Xubuntu not automatically suspending after idle anymore

Ask Ubuntu Asked by jamzsabb on December 19, 2021

When I first installed Xubuntu on my system, it would automatically suspend after the set idle period no problem. But I seem to have changed something and its no longer working.

I’ve checked the usual suspects, first and foremost being that I have actually set it properly in xfce4-power-manager which I think I do:

Xfce Power Manager Settings

When I run systemd-inhibit --list --mode=block I get the following:

WHO                 UID  USER      PID  COMM            WHAT                                                                       WHY                                      MODE
xfce4-power-manager 1000 doctor_ew 1192 xfce4-power-man handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch xfce4-power-manager handles these events block
xfce4-power-manager 1000 doctor_ew 1071 xfce4-screensav idle                                                                       Inhibit requested                        block

2 inhibitors listed.

But I’m not sure if I’m supposed to be seeing that or not. Are there any other troubleshooting steps anyone can recommend, I’m not sure what else I could check at this point.

2 Answers

I have the same inhibitor displayed when enabling the "presentation mode" of the power managment widget in my dashboard. You may have activated that.

enter image description here

Answered by Kasonnara on December 19, 2021

The first inhibitor is ok, but the second should not be there. If I check ps ax | grep screen I get:

1135 ?        Sl     0:00 /usr/bin/xfce4-screensaver --no-daemon

So our configurations must differ. I've setup my power manager the same way you do. The /etc/systemd/logind.conf should be disabled throughout all entries:

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#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

This has been discussed here

Answered by kanehekili on December 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP