LCD with buttons that does things.
I’m a beginner user of Raspberry pi. Familiar with basic python , and basic linux. I’ve created a media server Raspbian and also a different build with OpenElec. I also brought a LCD from adafruit, http://www.adafruit.com/product/1115
I’ve tinkered with the LCD, but don’t really know how to use it realistically. Now I want to have the LCD to display some “menu items” like up and down buttons will trigger the lcd to display “Shutdown” / “restart” and then pressing the select button will trigger linux commands like ‘sudo reboot’ and ‘sudo shutdown -h now’.
Can anyone point me some direction as to how i can create this “menu” . Sudo code would be great. Of course actual code would help too. And also do I need like a cron job or something? I’m totally unfamiliar with how this code would start at startup.