WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Disable touch/mouse on piCore  (Read 1048 times)

Offline leniwiec

  • Newbie
  • *
  • Posts: 2
Disable touch/mouse on piCore
« on: May 05, 2022, 07:17:05 AM »
Hey there!

I'm using piCore64-13.1 on rpi4 with 10" touchscreen.

Can I disable touch/mouse event in Xorg using scripting somehow? Originally I would like the first “tap” only to wake screen (doing that over rpi GPIO) and after that activate touch events for a while. Been looking for `xinput` but apparently it got replaced.

Offline leniwiec

  • Newbie
  • *
  • Posts: 2
Re: Disable touch/mouse on piCore
« Reply #1 on: May 05, 2022, 12:22:33 PM »
For now I went with xscreensaver.

Code: [Select]
.X.d/xscreensaver
xscreensaver -nosplash &


To activate & deactivate blank screen:
Code: [Select]
/usr/local/bin/xscreensaver-command -activate
Code: [Select]
/usr/local/bin/xscreensaver-command -deactivate