# Touch not working

**URL:** <https://discourse.libsdl.org/t/touch-not-working/23699>\
**Category:** SDL Development\
**Created:** [January 9, 2018, 12:07pm UTC](https://discourse.libsdl.org/t/touch-not-working/23699 "2018-01-09T12:07:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![it-elektronika](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/i/f04885/32.png) [@it-elektronika](https://discourse.libsdl.org/u/it-elektronika)\
**Post date:** [January 9, 2018, 12:07pm UTC](https://discourse.libsdl.org/t/touch-not-working/23699/1 "2018-01-09T12:07:04Z")

</div>

Hello!

Does anyone have any idea why touch does not work when application is started from script after LXDE loaded?

But when I run the program manually, that is from command line, program works as intended.

I use RPI3, running Raspbian Jessie.

Thank you

Luka

---

<div class="post-metadata">

**Author:** ![it-elektronika](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/i/f04885/32.png) [@it-elektronika](https://discourse.libsdl.org/u/it-elektronika)\
**Post date:** [January 10, 2018, 7:10am UTC](https://discourse.libsdl.org/t/touch-not-working/23699/2 "2018-01-10T07:10:31Z")

</div>

I’ve done some further testing and it seems that in order to use touchscreen you have to to touch it before application starts.

Using Waveshare 7 inch touchscreen.
