You are not logged in.

#1 2025-07-31 17:27:42

Pedro Marinho
Member
Registered: 2025-06-07
Posts: 8

Change Plymouth theme on reboot

I have a service that runs on reboot and updates my theme. Mainly my script file. What i change is only text and also change the path of an image that is loaded, inside that file of course.

[Unit]
Description=Ds3 Plymouth Update Service
After=hibernate.target

[Service]
ExecStart=/usr/bin/python3 /usr/share/plymouth/themes/ds3/update_config.py
ExecStartPost=/usr/bin/mkinitcpio -P

[Install]
WantedBy=multi-user.target hibernate.target

However i was wondering if I could improve this, as regenerating the initramfs is a slow process. ( In my machine it takes 24 seconds bruh)
If someone knows an alternative to this without breaking the boot i would apreciate.
Best Regards

Offline

#2 2025-08-05 22:44:46

daemonspudguy
Member
From: Marietta, Ohio, USA
Registered: 2020-07-02
Posts: 4
Website

Re: Change Plymouth theme on reboot

Plymouth runs early enough in the boot process that the filesystem isn't even mounted so the theme is actually in the initramfs. So this can't be done faster.


I post garbage and some people view it. They/them pronouns.

Offline

Board footer

Powered by FluxBB