Googling around, I found many too many ways to start the slideshow on bootup, and to blank the screen. But most of them didn't work because they ran before the desktop did.
Here's what finally worked for me, using feh for the slideshow and xscreensaver to keep the screen from blanking.
- Bought a Raspberry Pi 3 and some 16 Gb class 10 micro SD cards.
- Installed NOOBS on an SD card using my Windows 10 PC.
- Booted up the Pi with a USB mouse and keyboard I had, using a 1 amp phone charger as power supply. If you see a yellow lightning flash in the upper right of the screen, you need more power. 1 amp worked for me but 800 ma didn't.
- Connected to my LAN. I used wifi but an ethernet cable would be just as good.
- Opened a terminal window and did:
sudo apt-get install feh
sudo apt-get install xscreensaver
- Under Preference - Screensaver used xscreensaver preferences to disable blanking and turn the screensaver off entirely.
- Put my image files on a thumb drive, plugged it into the Pi and used File Manager to put them into a folder /home/pi/Pictures/Slides.
- In the home directory /home/pi, created a file runslideshow.sh with these three lines:
feh -Z -z -F -D 300 --hide-pointer --auto-rotate
- Using File Manager, changed the mode of runslideshow.sh to 755.
- To get the slideshow to run on boot, in a terminal (command) window, ran the commands
sudo nano autostart
That opened the editor, where I inserted the line
(A later poster said the directory for this should be /etc/xdg/lxsession/LXDE-pi.)
- I had wifi enabled while doing all the trial and error, to be able to google solutions. Once the slideshow was working, for security, I turned wifi off as follows:
In /etc/modprobe.d add a file raspi-blacklist.conf with the lines:
- Made a duplicate of the SD card for backup following these directions.
I'm sure there are other and probably better ways, but this worked for me. I hope this helps some other newbies spend less time on this simple application than I did.