Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
I installed xfce4-power-manager in order to put my laptop in suspend mode after a certain period of time, but it only turned off my monitor, so I uninstalled since I get this by default without the power manager.
So, I want to suspend my laptop after a certain amount of inactivity, as I can get with a power manager in a desktop environment, i.e. after X minutes on battery and after X minutes on AC.
How can I achieve this?
Last edited by mafsi on 2022-10-06 10:16, edited 1 time in total.
Did you use the right tab in xfce4-power-manager? There are settings for mains/battery on my laptop, but I'm on my desktop at the moment. As far as I remember, the laptop also suspends after a certain time. I will check the next time I turn it on.
Works for me on the desktop. I have never touched xset; a cursory glance suggests xfce4-power-manager should override xset settings:
xfce4-power-manager has to be autorun by your window manager. It's not like in Xfce where there's a session. You have to put the executable into .xinitrc or .xsession if you're using a display manager.
canci wrote: ↑2022-10-06 09:20
xfce4-power-manager has to be autorun by your window manager. It's not like in Xfce where there's a session. You have to put the executable into .xinitrc or .xsession if you're using a display manager.
I don't have .xsession either .xinitrc, I have .xsession-errors. Should I create one?
I put it in bspwm script along with sxhkd and others. No effect.
canci wrote: ↑2022-10-06 09:30
Or maybe you use another autostart script. Doesn't matter as long as the power manager is running in the background when you log in.
I'll give another shot. I'll install it again and test it & come back with an answer.