First mouse click when screen is blank

Hello everyone, I configured a raspberry with dietpi as touch screen panel for home automation with chromium in kiosk mode.

Since I don’t need the screen always on I modified the file:

/etc/X11/xorg.conf.d/99-dietpi-dpms_off.conf

to:

Section "ServerLayout"
    Identifier "ServerLayout0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime"     "0"
    Option "BlankTime"   "1"
EndSection

Is it possible to somehow configure xorg to ignore the first mouse click when screen blanking is enabled since the user has no idea what button is pressing since the screen is blank?

Your suggestions will be much appreciated.

1 Like