Scripted Plugin
Charlie Brej
plymouth at brej.org
Thu Jul 30 00:45:41 PDT 2009
On 30/07/09 08:29, Jerry Casiano wrote:
> Hi,
>
> At first I thought nobody would be able to theme plymouth except it's
> makers.
>
> So seeing this plugin in the works is awesome, really cool stuff,
>
> unfortunately I have no idea how to make it do what I want... or
> anything really... :-)
>
> I understand that it's a little early to worry about documentation at
> this point.
>
> I was hoping to do a couple simple themes, for example an OS X like logo
> in the center with a simple throbber under it,
> or a Windows like logo in the center with a pulsing progressbar/throbber
> at the bottom of the screen,
> but I couldn't find any examples that used a throbber. They all seem to
> use a normal progressbar.
>
> Any help, examples would be much appreciated.
If you have installed from git, then there is an example theme (called script)
installed, which does a simple throbber.
Take a look at /usr/share/plymouth/themes/script/script.script
I wrote a very rough guide to most of the elements involved in the language here:
http://www.freedesktop.org/wiki/Software/Plymouth/Scripts
There are two more examples I played around with if you want to see some examples:
http://www.cs.man.ac.uk/~brejc8/temp/vizta.tar.gz
http://www.cs.man.ac.uk/~brejc8/temp/dandelion.tar.gz
> Oh, I also found that using spinfinity with a simple round throbber
> would make it switch directions on every pass?
> Is there any way to stop that? and make it go the same direction over
> and over.
You could edit the code and add a theme setting to choose between roundrobin or
backforth.
Or use the script plugin to make a new theme. There was a spinfinity scripted
plugin already made but I removed it from git:
http://cgit.freedesktop.org/plymouth/tree/themes/script/script.script?id=9b941402fb8de873568e242539348afe95d6903f
> Thanks.
More information about the plymouth
mailing list