Sorry, I'm new to all this - spent a few hours searching google as well as the forums here...
I'm trying to switch the screen connected to the Pi's HDMI port on and off via a python script.
tvservice -o works fine - the screen goes off.
tvservoce -p switches the screen back on, but it remains blank. The backlight goes on, but no display.
if I execute 'startx' from an SSH terminal (on a different computer) and then hit 'ctrl-x' the display comes to life...
How do I get this to work in the my python script?
I'm trying to replicate this tutorial:
... everything works except for switching the screen on and off...
Any help is greatly appreciated!