[SPAM] Re: Plymouth Script "event" for "boot pausers" ?

Charlie Brej plymouth at brej.org
Mon Jan 4 12:02:23 PST 2010


On 04/01/10 19:23, Andre "Osku" Schmidt wrote:
> Hello list,
>
> i'm having much fun with Plymouth, thanks for making it!
>
> was wondering if we can get information in Plymouth Script when some
> tool wants to "pause" the boot process (like fsck) ?
> is it technically possible ? how hard to implement ?

SetBootProgressFunction gives you the progress and time. If they slow down to a 
crawl then something stalled.

> as i was playing with pacman[0] as progress bar, i thought it would be
> cool when some tool wants to pause the boot process, a ghost would
> appear (with speech bubble saying whats pausing the boot process) on the
> "progress dots" in front of pacman... and when fsck is done, pacman
> would continue moving and eating, also the ghost. :)

Distros have the option of triggering an event with a special name you can pick 
up on. Thats distro dependant though, as are the causes of slowdowns.

> i also see in the example Script theme these, for what are they used ?
>
> Plymouth.SetMessageFunction
> Plymouth.SetDisplayNormalFunction
> Plymouth.SetDisplayPasswordFunction

http://www.freedesktop.org/wiki/Software/Plymouth/Scripts


More information about the plymouth mailing list