Sleep/blank monitor on inactivity?

Does anyone know a way to sleep a monitor after some period of inactivity?

Things i’ve tried:

/boot/config.txt hdmi_blanking is already set to 1 but doesn’t seem to work

vcgencmd display_power 0 works but then I can’t get it to un-sleep after any input, I have to SSH in and set display_power 1

vbetool doesn’t have an installation candidate for arm.

Figured it out by reading the docs…
Raspberry Pi Documentation - Configuration

add consoleblank=300 at the end of /boot/config.txt then reboot.

1 Like