Re: FVWM: Is Idle status communicated to SystemD?

Jaimos Skriletz <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <CAJabFbii0TzE3LXPPwxouUhzXkKZddEsjsySnJ=SqHrtgHHKhg@mail.gmail.com>
On Sun, May 3, 2020 at 1:37 PM <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.