Posted on October 22, 2013 at 3:50 pm
With Raspberry Pi we can easily create an image slideshow, without using StartX and with one single line of commands. We will use fbi, that is used to display the specified file(s) on the linux console using the framebuffer device. It supports all image types, including jpeg, ppm, gif, tiff, xwd, bmp and png. For other formats fbi tries to use ImageMagick.
Install fbi using apt-get command:
apt-get update apt-get install fbi |
Now to create an image slideshow in the current directory, type:
fbi -a -noverbose -t 4 /path/to/images/*.png |
With the above command, we tell fbi to:
1) Enable autozoom (-a)
2) Hide the status line on the bottom of the screen (-noverbose)
3) Load the next image after N seconds (-t)
4) Find all *.png files and show them in alphabetic order (1.png, 2.png, etc)
When the last image is displayed, fbi will go back to the first image.
Updated on October 24, 2013 at 6:54 pm
Other Posts
- Route OpenVPN Connections Through Floating IP
- How to Configure a Floating IP in a VPS (Hetzner)
- Set OpenVPN to Listed on a Specific IP Address
- Bash Trim Leading and Trailing Whitespace from a String
- Bash Get Name of Ethernet Network Interface
- VPN Providers with Dedicated Static IP Address
- OpenVPN Iptables Rules
- WireGuard VPN Iptables Rules
Updated Posts
- AMD Chipsets & Graphics Card Drivers for Windows 7, 8, 10
- AMD Radeon 7400 Drivers for Windows 10
- How to pass custom command-line parameters in InnoSetup
- Add Desktop shortcut for all Windows PC users
- Programmatically create desktop icon with InnoSetup
- GeneratePress - a Lightweight WordPress Theme 2021
- InnoSetup disable DesktopIcon via command-line
- Use cURL to authenticate with JWT Bearer tokens