USplashCustomizationHowto
1206
Comment: spelling, grammar, style, blah
|
1196
libbogl-dev already depends on libbogl0; no need to explicitly install the latte
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
|| ''Pallette'' || ''Reason'' || | || ''Palette'' || ''Reason'' || |
Line 23: | Line 23: |
- ''apt-get install libbogl0 libbogl-dev'' | - ''apt-get install libbogl-dev'' |
How do I customize USplash?
Before starting, make sure you understand the following:
- The PNG must be: 640x480 16 colours.
- Some palette entries are used for particular purposes:
Palette |
Reason |
0 |
Background color |
0 |
Text background color |
1 |
Progress bar color |
2 |
Text foreground color |
4 |
Progress bar background color |
13 |
Failure color |
After that, the process is simple, just follow these steps:
1. Install BOGL packages needed
- apt-get install libbogl-dev
2. Run these steps to get your splash built:
- cp yourimage.png usplash-artwork.png
- pngtobogl usplash-artwork.png > usplash-artwork.c
- gcc -Os -g -I/usr/include/bogl -fPIC -c usplash-artwork.c -o usplash-artwork.o
- gcc -shared -Wl,-soname,usplash-artwork.so usplash-artwork.o -o yourimage-splash.so
3. Copy your splash to the usplash directory and create a new link:
- cp yourimage-splash.so /usr/lib/usplash/yourimage-splash.so
- ln -sf /usr/lib/usplash/yourimage-splash.so /usr/lib/usplash/usplash-artwork.so
That's all. Reboot, and enjoy.
USplashCustomizationHowto (last edited 2008-08-06 16:34:57 by localhost)