You are not logged in.

#1 2023-04-16 10:24:20

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 186

[SOLVED] Plymouth - ShowDelay is not working

I'm using Arch Linux with linux-zen kernel, with LightDM on a VMware VM and I was using Plymouth.

According to Arch wiki https://wiki.archlinux.org/title/plymouth , for showing the animation for more seconds, I added "plymouth" in HOOKS of "/etc/mkinitcpio.conf" and I edited "/etc/plymouth/plymouthd.conf" as:

# Administrator customizations go in this file
#[Daemon]
#Theme=fade-in
[Daemon]
Theme=spinner
ShowDelay=20

and then I run "sudo plymouth-set-default-theme -R spinner" with no errors on "plymouth".

The content of "/var/log/boot.log" pasted on https://termbin.com/b8tz seems ok.

When I reboot, sometimes the animated logo appears but just for 1 second, and other times no (because of the speed of the VM I guess). Why the set delay is not applied? Is it due to linux-zen kernel?

Last edited by D3vil0p3r (2023-04-18 20:21:19)

Offline

#2 2023-04-18 03:07:26

BluishHumility
Member
Registered: 2023-03-31
Posts: 26

Re: [SOLVED] Plymouth - ShowDelay is not working

D3vil0p3r wrote:
ShowDelay=20

This option delays showing the boot splash. It does not make the boot splash last longer. The option you are looking for is further down in the same page:

Slow down boot to show the full animation

On systems with a very fast boot time, it might necessary to add a delay to plymouth-quit.service with a drop-in snippet containing ExecStartPre=/usr/bin/sleep 5 if showing the whole animation is desired. See this reddit post.

Something like this:

systemctl edit plymouth-quit.service --drop-in=super_long_splash.conf
ExecStartPre=/usr/bin/sleep 20

Offline

#3 2023-04-18 20:21:06

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 186

Re: [SOLVED] Plymouth - ShowDelay is not working

Thank you.

I solved as you suggested:

I run

sudo systemctl edit plymouth-quit.service --drop-in=super_long_splash.conf

then, AMONG the comments, I typed the following content:

[Unit]
Description=Make Plymouth Boot Screen to last longer

[Service]
ExecStartPre=/usr/bin/sleep 10

and it works.

Thank you again!

Offline

Board footer

Powered by FluxBB