You are not logged in.
Since switching over from the old SysV init to systemd, I've noticed that my computer will go into standby if I'm inactive for more than 5 seconds. How do I configure systemd to wait for a longer period of time before going into standby? I couldn't find anything about this in the man pages or the wiki. Also, is there a way to temporarily prevent the computer from going to sleep? Say, when you're watching a movie or reading an ebook?
Offline
This is a bug somewhere.
To answer your question: InhibitDelayMaxSec= in /etc/systemd/logind.conf sets the time before suspend.
However, the problem is that your machine should not be suspended in the first place (if you are using it!). I guess the bug is related to HandleSleepKey= in the same file. Try setting that to "off".
Offline
It may help to be clearer about what you mean by standby. Tomegun is talking about "suspend". You're saying "standby" which affects the monitor/screen but you say you're computer is going into standby.
Offline
Ah, I assume he meant suspend.
Offline
If it was 5 minutes rather than 5 seconds, I'd say it's probably standby/DPMS so
setterm -blank 0 -powerdown 0
xset s off etc, would be worth trying (or the desktop manager equivalents). But 5 seconds? No idea, a bug in suspend, standby... or something else misconfigured ![]()
Offline
Sorry about the ambiguity. Yes, it's standby. The monitor is going into standby.
Offline