This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
notro edited this page Feb 11, 2014
·
5 revisions
This is a simple Plymouth theme using the beautiful adapiluv320x240 image by Adafruit.
Video: adapiluv: Adafruit Plymouth theme
sudo sh -c "mkdir /usr/share/plymouth/themes/adapiluv && curl -L https://github.com/notro/adapiluv/tarball/master | tar xz --strip 1 -C /usr/share/plymouth/themes/adapiluv"
Links:
- https://github.com/notro/fbtft/wiki/Bootsplash
- https://github.com/notro/fbtft/wiki/FBTFT-shield-image#wiki-using-plymouth
cd
git clone https://github.com/notro/adapiluv
sudo ln -s ~/adapiluv /usr/share/plymouth/themes/adapiluv
One for the daemon:
sudo plymouthd --no-daemon --debug --debug-file=/var/log/plymouthd.log
And one to control the daemon
sudo plymouth --show-splash
sudo plymouth --quit
The debug file will show if there are any errors parsing the script file.
Rebuild the initramfs before rebooting
sudo update-initramfs -u
This is done on the Raspberry Pi and on each step the image is shown on /dev/fb1
Prerequisites
sudo apt-get install imagemagick fbi
Make images
# Enlarge the plus sign
convert adapiluv320x240.png -crop 60x60+134+92 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -resize 70x70 plus.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose plus.png
# Turn the black seeds into this color
color=#11AEA5
# seed1
convert adapiluv320x240.png -crop 13x12+61+111 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -fuzz 50% -fill $color -opaque black seed1.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose seed1.png
# seed2
convert adapiluv320x240.png -crop 8x14+75+105 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -fuzz 50% -fill $color -opaque black seed2.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose seed2.png
# seed3
convert adapiluv320x240.png -crop 14x8+81+116 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -fuzz 50% -fill $color -opaque black seed3.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose seed3.png
# seed4
convert adapiluv320x240.png -crop 10x13+77+125 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -fuzz 50% -fill $color -opaque black seed4.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose seed4.png
# seed5
convert adapiluv320x240.png -crop 13x13+63+123 +repage crop.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose crop.png
convert crop.png -fuzz 50% -fill $color -opaque black seed5.png && sudo fbi -vt 2 -d /dev/fb1 -noverbose seed5.png
# copy images
sudo cp plus.png seed{1,2,3,4,5}.png /usr/share/plymouth/themes/adapiluv/