05-28-2021, 03:33 AM
(05-27-2021, 11:49 PM)Tim Curtis Wrote: Looks ok.
Below is the help for the xset command. The command used in moOde "xset s 300" should cause screen blank to occur after 5 minutes. https://shallowsky.com/linux/x-screen-blanking.html
Code:pi@rp2:~ $ xset
usage: xset [-display host:dpy] option ...
To turn bell off:
-b b off b 0
To set bell volume, pitch and duration:
b [vol [pitch [dur]]] b on
To disable bug compatibility mode:
-bc
To enable bug compatibility mode:
bc
To turn keyclick off:
-c c off c 0
To set keyclick volume:
c [0-100] c on
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
To set the font path:
fp= path[,path...]
To restore the default font path:
fp default
To have the server reread font databases:
fp rehash
To remove elements from font path:
-fp path[,path...] fp- path[,path...]
To prepend or append elements to font path:
+fp path[,path...] fp+ path[,path...]
To set LED states off or on:
-led [1-32] led off
led [1-32] led on
-led named 'name' led off
led named 'name' led on
To set mouse acceleration and threshold:
m [acc_mult[/acc_div] [thr]] m default
To set pixel colors:
p pixel_value color_name
To turn auto-repeat off or on:
-r [keycode] r off
r [keycode] r on
r rate [delay [rate]]
For screen-saver control:
s [timeout [cycle]] s default s on
s blank s noblank s off
s expose s noexpose
s activate s reset
For status information: q
To print version: -version
pi@rp2:~ $
It's not obvious to me why it's not working in your case . I have a 7" touch and when I get some spare cycles I'll run a test.
Screen-blanking timeout has worked fine for me with my official RP 7-in Touch Display through multiple releases of moOde including 7.2.1.
I leave most system config settings at their default values. (Note, I've used this display only on RPi3B+ and RPi4B models.)
Perhaps OP has something running which is keeping the screen active?
Regards,
Kent