Open dmiart opened 4 years ago
That would then replace the pi logo during boot, right? Looks cool! Linked to #897 kind of to make a fully OctoDash themed distro.
That would then replace the pi logo during boot, right? Looks cool! Linked to #897 kind of to make a fully OctoDash themed distro.
Yeah, this replaces the welcome to raspbian desktop picture. Also have to enable the splash display in raspi-config.
Don't forget to make sure rpd-plym-splash is installed
And technically you shouldn't replace files in deb package so it's be best to copy the pix folder to octodash, copy the image into octodash folder then use
apt-get install -y rpd-plym-splash
mkdir -p /usr/share/plymouth/themes/octodash
cp <image> /usr/share/plymouth/themes/octodash/splash.png
cp -a /usr/share/plymouth/themes/octodash/pix.script /usr/share/plymouth/themes/octodash/octodash.script
cat >> /usr/share/plymouth/themes/octodash/octodash.plymouth << EOF
[Plymouth Theme]
Name=octodash
Description=OctoDash Desktop Splash
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/octodash
ScriptFile=/usr/share/plymouth/themes/octodash/octodash.script
EOF
plymouth-set-default-theme -R octodash
Also add
disable_splash=1
to config.txt
and add
logo.nologo loglevel=1 vt.global_cursor_default=0
and replace tty1 with tty3 in cmdline.txt
this will make it truly silent
https://scribles.net/silent-boot-up-on-raspbian-stretch/
For some reason on my display (likely due to fb setup time) I needed to add ShowDelay=2 to /etc/plymouth/plymouthd.conf, likely best to add it to be more compatible.
There is a slight black screen with the login data right before ratpoison starts up, I'm still search for a way to silence that. I made a few edits to .bashrc to clean some of it but I don' like that solution. I tried to disable tty1 but then rat poison won't start. So I'm still working on this part.
What if you send cls in couple of spots before ratpoison? I can't test on mine as I am printing atm. I suspect the text will still be briefly visible though.
Okay I finally did it based on this link
https://scribles.net/silent-boot-on-raspbian-stretch-in-console-mode/
touch ~/.hushlogin
and
in /etc/systemd/system/getty@tty1.service.d/autologin.conf replace
ExecStart=-/sbin/agetty --autologin pi --noclear %I xterm-256color
with
ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options "-f pi" %I $TERM
and my one addition is in .bashrc change
source /home/pi/scripts/welcome if [ -z "$SSH_CLIENT" ] || [ -z "$SSH_TTY" ]; then xinit -- -nocursor fi
to
if [ -z "$SSH_CLIENT" ] || [ -z "$SSH_TTY" ]; then xinit -- -nocursor > /dev/null 2>&1 else source /home/pi/scripts/welcome fi
This produces a few second blank screen while ratpoison loads but zero text at all.
I also had to make the splash screen 1280x800 for my display and I made it all grey without the black but that is just preference, this looks amazing, if you want I can make a video of the boot for anyone that is curious.
great work and idea on this @dmiart
Yeah, this is why I had the grey rectangle that was basically a copy paste of the original but with different colors to fit all resolutions. But it does look much better with all grey tbh.
Holy sh*t that looks awesome! Kind of looks like a fully integrated system now, rather than something hacky. Really appreciate your efforts! I'll try to integrate that into the installation script and merge it over in the wiki so other people can also adjust there systems :)
yeah it looks really good, it was a great idea @dmiart had.
Describe the solution you'd like A clear and concise description of what you want to happen. Replace /usr/share/plymouth/themes/pix/splash.png with Octodash themed image as an option in the installation wizard.
Something like this.