# how to activate/enable automatic screen blank after x minutes and wake up on touch again

**URL:** https://dietpi.com/forum/t/how-to-activate-enable-automatic-screen-blank-after-x-minutes-and-wake-up-on-touch-again/3981
**Category:** General Discussion
**Created:** [5 April 2020 16:38 UTC](https://dietpi.com/forum/t/how-to-activate-enable-automatic-screen-blank-after-x-minutes-and-wake-up-on-touch-again/3981 "2020-04-05T16:38:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pkoevesdi](https://dietpi.com/forum/user_avatar/dietpi.com/pkoevesdi/32/2051_2.png) [@pkoevesdi](https://dietpi.com/forum/u/pkoevesdi)
#### Post date: [17 September 2023 11:54 UTC](https://dietpi.com/forum/t/how-to-activate-enable-automatic-screen-blank-after-x-minutes-and-wake-up-on-touch-again/3981/2 "2023-09-17T11:54:13Z")

</div>

For future reference, this works for me:

> [@Enable screensaver/blank screen for RPi touchscreen](https://dietpi.com/forum/t/enable-screensaver-blank-screen-for-rpi-touchscreen/3126/8):
>
> I’ve been looking for a way to get the screen turn off after some time automatically for a few days now. Putting my tweaked script into this folder was the only working solution after manually disabling xscreensaver. Thanks. For my my own future reference. #!/bin/bash DISPLAY=:0 xset dpms 60 60 60

Only problem: the touch gets recognized as input, which is stupid. The user doesn’t see anything, but can do anything.  
For reference, I asked this here: [Don't recognize wake touch as input](https://dietpi.com/forum/t/dont-recognize-wake-touch-as-input/17895)

---

_[View the full topic](https://dietpi.com/forum/t/how-to-activate-enable-automatic-screen-blank-after-x-minutes-and-wake-up-on-touch-again/3981)._
