You are not logged in.
Pages: 1
Hello everyone. first time posting here, can't find solution for my problem anywhere so here it is, I am using arch with openbox as my WM, and until now I was using xfce4-power-manager and can't figure it out how NOT to suspend computer when watching youtube or movie etc. Caffeine is working great just for keeping monitor on and off but computer is going to suspend/sleep mode with caffeine on. I removed power xfce manager and tried configure logind.conf file by putting IdleAction on "suspend" and IdleActionSec on 1min just to try if it works but nothing happens. Bottom line is: I want computer to suspend when idle and not to when is working something (youtube, audacuious plays music etc). Is it possible?
Thank in advance!!
ps: I restarted systemctl-logind.service and whole computer manually also.?
Hope this tread is on right place.
Offline
Have a look at the output of:
xset -qThe screensaver and DPMS are probably on, deactivate them with:
xset s off -dpmsEDIT: Sorry, you're talking about suspend aren't you?
Post the content of /etc/systemd/logind.conf
Last edited by Head_on_a_Stick (2016-01-27 12:16:35)
Jin, Jîyan, Azadî
Offline
yea, suspend mode or sleep, here you go:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
IdleAction=suspend
IdleActionSec=1min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#UserTasksMax=4096Last edited by VVedran (2016-01-27 12:36:28)
Offline
Are there any inhibitors running?
systemd-inhibitThe logind.conf(5) man page says:
Note that this requires that user sessions correctly report the idle status to the system.
Not sure exactly how you would check this though...![]()
Last edited by Head_on_a_Stick (2016-01-27 12:50:55)
Jin, Jîyan, Azadî
Offline
one inhibitor listed - network manager
Offline
Pages: 1