On Sun, May 3, 2020 at 1:37 PM <gi1242+f...@gmail.com> wrote: > > Hi All, > > it looks like it's the WM's responsibility to notify SystemD of the idle > status. Does fvwm do this? (I start Fvwm from sddm, or directly via > startx from the text console.) > > If anyone has it working and has any tips they can share that would be > appreciated. >
I am unsure about how to notify systemd, but on my system I use xautolock to lock my screen with i3lock. I don't use suspend, but you can configure xautolock to run any command after a set amount of time of inactivity in xorg. So you could use xautolock to suspend your system via systemctl suspend provided your user has permissions to do this. This doesn't directly answer your question of how to configure this in logind.conf with systemd, but it will give you a way to suspend in xorg after certain amount of inactivity. jaimos