In /boot/config.txt, add:
disable_spash=1
optionally:
disable_overscan=1
In /boot/cmdline.txt, add:
logo.nologo consoleblank=0 loglevel=1 quiet
By hand run
systemctl disable getty@tty1
apt install fbi
Create /etc/systemd/system/splashscreen.service:
[Unit]
Description=Splash screen
DefaultDependencies=no
After=local-fs.target
[Service]
ExecStart=/usr/bin/fbi -d /dev/fb0 --noverbose -a /opt/splash.png
StandardInput=tty
StandardOutput=tty
[Install]
WantedBy=sysinit.target
With /opt/splash.png
Might need to kill fbi when starting the kiosk.
sudo apt install -y sox espeak mplayer ffmpeg alsa-utils
Use raspi-config to force audio through the 3.5mm audio jack.
There's an issue with the HDMI 'going to sleep' and cutting off the first two seconds of the audio if nothing is being played through it. The 3.5mm jack seems to not have that issue.
The 3.5mm jack has a lot of noise on the line. The fix looks to be using a USB speaker. For now we'll go with the 3.5mm jack but this will eventually need replacement.
To get monitor resolution:
fbset -s