Usplash
Matthew Garrett
mjg59 at srcf.ucam.org
Tue Jul 19 09:34:12 CDT 2005
I've put a first attempt at usplash at
http://www.srcf.ucam.org/tmp/usplash-0.1.tar.gz . Yes, I know the
graphics suck.
Usplash is a userspace bootsplash application built on top of the BOGL
framebuffer library.
BUILDING
make
INSTALLING
make install
mkdir /var/lib/usplash
mkfifo /var/lib/usplash/usplash_fifo
USING
usplash will launch the bootsplash program.
usplash_write will write commands to the usplash fifo. It uses
non-blocking IO, so will exit with an exit code of 0 if usplash is not
running. The format of a usplash command is COMMAND argument - this
must be passed as a single argument to usplash_write.
Current commands are:
TEXT - prints a line of text
STATUS - prints text in the right hand side of the usplash screen
SUCCESS - prints green text in the right hand side of the usplash screen
FAILURE - prints red text in the right hand side of the usplash screen
PROGRESS - prints a progress bar of argument percent
CLEAR - clears the text area
QUIT - quits the usplash daemon
EXAMPLES
usplash_write "TEXT hello usplash!" - will write "hello usplash!" to
the text area
usplash_write "TEXT test" - will scroll "hello usplash!" upwards and
print "test" in its original location
usplash_write "STATUS yes" - will print "yes" to the right of "test"
usplash_write "PROGRESS 20" - will print a progress bar that covers
20% of the progress bar area
usplash_write "QUIT " - will quit the daemon
BUGS
bogl_move is not yet implemented for non-VGA16 framebuffers, so
usplash will not work on PPC yet
The QUIT command requires a trailing space
The graphics look dreadful
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the ubuntu-devel
mailing list