So, i am building a program that will stand on a exhibition for public usage, and i got a task to make a inactive state for it. Just display some random videos from a folder on
Take a look at UKIdleTimer, maybe it's what you're looking for.