Replacing the shutdown screen

From OLPC
Revision as of 21:31, 18 August 2008 by DanielDrake (talk | contribs)
Jump to navigation Jump to search

See also: Tweaking the boot animation.

The UL warning image displayed during shutdown can be modified by replacing the file

/usr/share/boot-anim/ul_warning.565

with an appropriate alternative, in 1200x900 "565" format.

For example, you might wish to try: modified-shutdown.565.

On a linux system, you can convert 1200x900 PNG images to 565-format images as follows:

$ yum -y install netpbm-progs  
$ pngtopnm myfile.png | ./ppmto565.py -z -o myfile.565

Using the ppmto565.py script found at http://dev.laptop.org/~cscott/ppmto565.py

On core OS versions prior to 8.2, you must omit the -z option. The resulting raw 565-format files seem large, but we use a compressing filesystem on the XO which slims them down nicely.

To disable the shutdown screen entirely (for debugging, for instance), use:

chkconfig ul-warning off

The shutdown screen will still appear on the next shutdown, but will not appear on subsequent shutdowns.

Our UL certification requires us to display this warning; please do not disable the screen in deployed laptops unless for personal use only.