You are not logged in.

#1 2016-03-09 19:13:40

nyn
Member
Registered: 2015-05-27
Posts: 11

/etc/logind.conf -- IdleAction= not working properly

Hi everyone,

I just set my /etc/logind.conf to

IdleAction=suspend
IdleActionSec=30min

My problem is, that the computer will suspend after 30min even though it's not idle. I was surfing the web, there has at least been some activity in the web browser and on my mouse and keyboard.

The logind.conf man page says:

Note that this requires that user sessions correctly report the idle status to the system.

Is that working as intended? How can I make the session report the correct status?

_______________________

Edit:
So apparently this is a known issue if you don't use a DE and not considered a bug. https://github.com/systemd/systemd/issues/1295

Someone on github asked:

How graphical session managers notify systemd of their execution, making it stop its idle timer? Can't we just create a startx.service that takes advantage of the same mechanism?

Is it? I don't even know how to begin researching this kind of thing.

Last edited by nyn (2016-03-10 12:21:46)

Offline

Board footer

Powered by FluxBB