Is there any way (maybe with ImageMagik or something) to load a full screen image from a shell script and then close it?
I have a media PC that loads kodi, mythTV and a few other things. I was hoping that rather than show the desktop etc, I could hold off loading kodi until everything is ready, and just show a full screen image rather than the desktop. So the shell script (that would be in the startup items) would look something like:
#!/bin/bash
#first load the image full screen
display -options here ~/Pictures/loader.jpg
#do other stuff here and sleep if required
loadstuff
sleep 10
#close the image
display -close orwhatever
#load kodi
kodi &
I currently have everything working, the only issue is it sits on the desktop for 5sec (while another application, AndroMouse runs) and then loads kodi, which then waits for mythTV to start before loading the PVR plugin.
I want to not show the desktop (if I don't load AndroMouse you never see the desktop, goes straight to Kodi), instead I want to show a full screen loading image, and I will just get Kodi to wait loading until myth is done.
How can I load the image full screen before anything else (before as much as possible) and then take the image down again when I get to that part of the script?