Raspberry Pi OS-lite SSH with key WIFI WIFI region Locale
sudo apt update sudo apt upgrade -y sudo apt install fbi imagemagick -y
sudo raspi-config
-- auto login cli
Add to .bashrc for user:pi
export FRAMEBUFFER=/dev/fb0
export DISPLAY=:0
PROCESS_NUM=$(ps -ef | grep "fbi" | grep -v "grep" | wc -l)
if [ $PROCESS_NUM -eq 0 ];
then
sudo /usr/bin/fbi -a -u --noverbose -T 1 -t 10 /home/pi/Pictures/*.jpg &
else
echo "slideshow is already running"
echo ""
fi