03-07-2024, 07:28 PM
(This post was last modified: 03-07-2024, 07:29 PM by Tim Curtis.)
It sounds like you haven't actually test this to confirm that the first touch after a screen blank is ignored.
In any case below is the code that sets up and launches Local Display. Maybe there is some sort of X command or option to "ignore first touch/click after screen blank". If not then there is prolly no way to do it.
In any case below is the code that sets up and launches Local Display. Maybe there is some sort of X command or option to "ignore first touch/click after screen blank". If not then there is prolly no way to do it.
Code:
#!/bin/bash
#
# moOde audio player (C) 2014 Tim Curtis
# http://moodeaudio.org
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Turn off display power management
xset -dpms
# Screensaver timeout in secs or 'off' for no timeout
xset s 600
# Capture screen size
SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
# Clear browser cache
$(/var/www/util/sysutil.sh clearbrcache)
# Launch chromium browser
chromium-browser --app="http://localhost/" \
--window-size="$SCREENSIZE" \
--window-position="0,0" \
--enable-features="OverlayScrollbar" \
--no-first-run \
--disable-infobars \
--disable-session-crashed-bubble \
--kiosk