How to change Plymouth theme in Silverblue?

Hello all,

I have question, like in topic:
how to change/set Plymouth theme in Silverblue ?

Have you tried Plymouth uses bgrt theme by default, how to change it? - #6 by grumpey?

Yes with kind of luck.

> plymouth-set-default-theme tribar -R

dracut[F]: Can't write to /boot/efi/32b57ae3a70d442f9d45b8fd697bbbeb/6.16.8-200.fc42.x86_64: Directory /boot/efi/32b57ae3a70d442f9d45b8fd697bbbeb/6.16.8-200.fc42.x86_64 does not exist or is not accessible.
  • This is Silverblue.
> plymouth-set-default-theme tribar

> plymouth-set-default-theme 
tribar

> rpm-ostree initramfs --enable

> systemctl reboot
  • This works.

But then I want to change plymouth theme again:

> plymouth-set-default-theme spinner

> systemctl reboot
  • and spiner is shown during turning system down, but then when booting tribar is still shown.

Also after

> rpm-ostree initramfs --disable

it still shows bgrt.

Note that you need to trigger a rebuild of the initramfs every single time you change the theme in order for the new configuration to be taken into account.

This should not be a big issue in practice as I don’t think you’ll want to change the theme all the time?

rpm-ostree initramfs --enable

Does it have any drawbacks, vulnerabilities, dangers ?

This means you’ll rebuild the initramfs on every update. Thus installing updates takes more time.