Skip to content

Instantly share code, notes, and snippets.

@bmfurtado
Last active February 19, 2022 21:38
Show Gist options
  • Save bmfurtado/d701ea59bfc8a2e8610089bcbb6cc737 to your computer and use it in GitHub Desktop.
Save bmfurtado/d701ea59bfc8a2e8610089bcbb6cc737 to your computer and use it in GitHub Desktop.
Instructions to setup a simple custom RPi boot splash screen

Setup splash screen

  • Create a PNG of the appropriate size (check with fbset), put it in /home/pi/splash.png
  • /boot/config.txt
    • add disable_splash=1
  • /boot/cmdline.txt
    • add logo.nologo consoleblank=0 loglevel=1 quiet to the end of the cmdline
  • sudo systemctl disable getty@tty3
  • sudo apt install fbi
  • sudo vi /etc/systemd/system/splashscreen.service - fill with contents:
[Unit]
Description=Splash screen
DefaultDependencies=no
After=local-fs.target

[Service]
ExecStart=/usr/bin/fbi -d /dev/fb0 --noverbose -a /home/pi/splash.png
StandardInput=tty
StandardOutput=tty

[Install]
WantedBy=sysinit.target
  • sudo systemctl enable splashscreen
  • sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment