# Don't recognize wake touch as input

**URL:** https://dietpi.com/forum/t/dont-recognize-wake-touch-as-input/17895
**Category:** General Discussion
**Created:** [17 September 2023 11:55 UTC](https://dietpi.com/forum/t/dont-recognize-wake-touch-as-input/17895 "2023-09-17T11:55:57Z")
**Posts on this page:** 2
**Page:** 1

<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:55 UTC](https://dietpi.com/forum/t/dont-recognize-wake-touch-as-input/17895/1 "2023-09-17T11:55:57Z")

</div>

Continuation of the discussion of [Enable screensaver/blank screen for RPi touchscreen](https://dietpi.com/forum/t/enable-screensaver-blank-screen-for-rpi-touchscreen/3126/7):

Is there a solution to prevent the “wake-touch” after `xset dpms 10 10 10` or `xset s 10` to get recognized as click input?

---

<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 18:18 UTC](https://dietpi.com/forum/t/dont-recognize-wake-touch-as-input/17895/2 "2023-09-17T18:18:11Z")

</div>

Ok, I managed it like described here: [xorg - Ignoring first click event on dpms or screen wakeup - Unix & Linux Stack Exchange](https://unix.stackexchange.com/a/372929)  
After `git clone`ing  
[GitHub - zpfvo/xssstart: xssstart — run a command when X screen saver activates](https://github.com/zpfvo/xssstart) and  
[GitHub - zpfvo/clicklock: lockscreen for touch kiosk devices](https://github.com/zpfvo/clicklock),  
in order to install both after `clicklock`’s readme, I had to

```auto
apt install libxss-dev dh-autoreconf

```

before. Then I made a unit file `/etc/systemd/system/clicklock.service`:

```auto
[Unit]
Description=clicklock
PartOf=graphical.target

[Service]
Environment=DISPLAY=:0
ExecStart=xssstart clicklock
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=default.target

```

Of course, `systemctl enable clicklock && systemctl start clicklock`. Works like a charm.
