I am confused about the best way to turn the system off. I suppose switching off the mains power in the back after turning off in software is the easiest way to do it.
I have just edited the title of the thread to add my second question. How can I program the Raspberry to turn the LCD off after an arbitrary time, say one hour? Then how can I turn it back on? It has touch screen so it should be listening to a touch event. Or playing music might wake it up. Any suggestions? Thank you!