Announcement

Collapse
No announcement yet.

systemd-logind IdleAction not working

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] systemd-logind IdleAction not working

    I've set tried setting IdleAction=suspend in /etc/systemd/logind.conf, but it doesn't seem to work. Ie,

    Code:
    IdleAction=suspend
    IdleActionSec=1min
    I don't see anything triggered in /var/log/syslog relating to this. As far as I can tell, the sddm binary has idle reporting support (at least I see the relevant function names via strings).

    It seems like this may not work after logging into KDE as PowerDevil will probably take over... But I'd like this to work at the sddm login screen.

    What I want to do is suspend my system or put it into standby (this appears to be a different low power state?) if the system has been idle for amount of time even if no one is logged in. I suppose it doesn't necessarily need to be through systemd-logind if anyone has a better solution.

    #2
    I tried stopping sddm (via systemctl stop sddm), and suspend happened after 1 minute. Perhaps sddm doesn't properly report idling to logind... Does anyone know if this is configurable?

    Maybe I'll need to try another login manager...

    Comment

    Working...
    X