Thank you for your donation!


Instruction Guide Add moOde splash screen
#1
I saw this is in Tim's todo list for the next release so I'm posting this howto to possibly spare him some time and to help those who want it as soon as possible.

After you enable the options in moOde and you have the gui working in your touchscreen you can do the following to add a splash screen and remove all messages usually showing while the system boots. A simple splash image named moode.png has been created using the moode logo from the website and is attached.

so,

install the fbi framebuffer:

Code:
sudo apt-get install fbi


create a service file:

Code:
sudo nano /etc/systemd/system/splashscreen.service

and add in it:

[Unit]
Description=moOde Splash Screen
DefaultDependencies=no
After=Local-fs.target

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

[Install]
WantedBy=sysinit.target
make sure the path to the splash file is correct above.

enable the service:

Code:
sudo systemctl enable splashscreen.service

then edit /boot/config.txt and add:
Code:
avoid_warnings=1
while in config.txt check also that disable_splash=1, if you get black borders around the splash you can try adding disable_overscan=1 too.

then edit console=tty1 to tty3 in /boot/cmdline.txt and also add at the end:
Code:
isolcpus=1 loglevel=0 consoleblank=0 quiet logo.nologo splash plymouth.ignore-serial-consoles vt.global_cursor_default=0

now edit /etc/rc.local and add the following before the 'exit 0':
Code:
#Suppress Kernel Messages
dmesg --console-off
clear
kill $(pgrep fbi)

finally remove any motd during boot:

Code:
sudo update-rc.d motd remove

and also stop the login prompt from showing up for tty1:

Code:
sudo systemctl disable getty@tty1

reboot.

This has been tested and works fine with my fresh 4.2 install.


Attached Files Thumbnail(s)
   
Reply
#2
Hi,

I'll test next week.

Many thanks for the contrib :-)

-Tim
Reply
#3
Hi moOde fans,
 Angry
Reply
#4
Hi,

Starting to take a look at this :-)

- Does fbi scale the image to fit the screen?
- When you say "had to start over" does that mean you were not able to get ssh access?
Reply
#5
Hi moOde fans,
 Angry
Reply
#6
Ok, thanks. If I get some spare time today I'll experiment with it. Hopefully a missing image doesn't actually brick the system :-0
Reply
#7
Hi,

Does this work with version 6.71

Thanks
Reply
#8
(01-04-2021, 07:26 PM)Jempie Wrote: Hi,

Does this work with version 6.71

Thanks

As it happens, I had to try this procedure on a moOde 7.0.1 player just now to help a user with a different issue.

It seems to be working ok.

Regards,
Kent
Reply


Forum Jump: