File: README

package info (click to toggle)
usplash 0.5.19-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,576 kB
  • ctags: 2,929
  • sloc: ansic: 23,562; makefile: 1,011; sh: 430; asm: 377; perl: 26; python: 7
file content (47 lines) | stat: -rw-r--r-- 1,358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
TIMEOUT - sets the timeout to something other than 15 seconds
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