How would I add a splash screen image that is shown on boot rather then the command line text. All the methods I have seen still show the command line then the image.
Any ideas appreciated!
How would I add a splash screen image that is shown on boot rather then the command line text. All the methods I have seen still show the command line then the image.
Any ideas appreciated!
hi found this
you will need to install omxplayer first
sudo apt-get install omxplayer
First off, you will want to copy the 15 to 20 second movie file to your Raspberry Pi device. Anything shorter and the video will end before it’s finished booting and you will continue to see the kernel messages. You can use any video file that omxplayer can play back, but I like .mov and .mp4 files.
#! /bin/sh
### BEGIN INIT INFO
# Provides: asplashscreen
# Required-Start:
# Required-Stop:
# Should-Start:
# Default-Start: S
# Default-Stop:
# Short-Description: Show custom splashscreen
# Description: Show custom splashscreen
### END INIT INFOdo_start () { omxplayer /home/pi/video.mov &
exit 0
}case "$1" in
start|"")
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
status)
exit 0
;;
*)
echo "Usage: asplashscreen [start|stop]" >&2
exit 3
;;
esac:
You should now be ready to go!
Reboot your Pi and enjoy the startup movie.
this solution will show 4-5 lines of command text before the movie which cannot be bypassed
Thank you seems to works so far, I still wish i could skip the first 4-5 lines but that is still better then showing the whole kernel launching
thanks again
Hi, that won't work on my Pi 2.
I tried several tutorials, but all won't work.
The omxplayer plays the video properly, except of the wrong resolution.
Every codeline is double and triplechecked, also the paths and filenames. Any Ideas?
sorry i havn't had any experience with the pi 2 but i'll try to post as soon as i can