I'm trying to turn the monitor off via my RPI, which works well using either

vcgencmd display_power 0


tvservice --off

But then, with both of them, it shows a default message saying something like "Cable not connected". Is there any way to block it or hide it or use any other command that might not end up in the same result?


Yes, if your monitor supports HDMI CEC commands. Try installing cec-client and running

echo "standby 0" | cec-client -s

to see if it does.

  • 1
    Unfortunately it doesn't. Also running echo 'scan' | cec-client -s -d 1 doesn't show my monitor. Thanks for the suggestion though...
    – muilpp
    Dec 13 '19 at 12:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.