LichtiMC wrote: ↑
Sat Nov 23, 2019 10:37 pm
Apparently the commands are only respected when added a pause (e.g. sleep 5) before the commands.
Seems like something overrides dpms values with:
Code: Select all
DPMS (Energy Star):
Standby: 7200 Suspend: 7200 Off: 14400
DPMS is Disabled
Does anyone know where these defaults are being set?
There's no need to pause before calling xset
, if you are needing to then you definitely have something else running that is setting its own values. Those aren't the default timeouts as if not explicitly set they are 600 (10 mins) for each.
How are you adding a sleep 5
before it? LXDE doesn't run the autostart lines through a shell, each line is a single program and its arguments (and they are spawned as separate processes) so to have xset
run after a sleep
you need to put them in a shell script and have autostart run that shell script.
Also, I've never understood why people make two runs of xset
when all the options can be given in one invocation. I've always used
and never had any problems.