Skip to main content

How to create a pre-boot image for slitaz ( .lss picture files )

1. You will need to have Gimp 2.6 installed and ready.
Now create a new picture with 640 x 480 (480 minus some space for the text cursor). The original Slitaz splash will be 640 x 346 pixels.

2. Now create your image,with your creative works. When done, change the image mode to indexed colors.
IMAGE > MODE > INDEXED
The pre-boot image can only have 16 different colors, minus 2 colors for the text. So, you have to select "Maximum Number Of Color = 14", reserving 2 colors for the text.

3. Now save the image in PPM format:
FILE -> SAVE AS -> SELECT FILE TYPE (BY EXTENSION) -> PPM IMAGE
Save it (as RAW ppm).

4. Convert the PPM image to LSS image using Syslinux utility ppmtolss16 (a Perl program that comes with the Syslinux package).
# wget http://ftp.nluug.nl/sunsite/system/boot/loaders/syslinux-3.75.tar.gz
# tar xzf syslinux-3.75.tar.gz
Inside the directory syslinux-3.75/utils you can find the "ppmtolss16" Perl script.
Copy the file "ppmtolss16" to where you are working the picture.
# cp syslinux-3.75/utils/ppmtolss16 xxxxxxxx
replace xxxxxxxx with your image location.
Just type:
# ./ppmtolss16 '#ffffff=7' imagename.lss
Where the '#ffffff=7' is the RGB color of the text cursor (red=ff, green=ff and blue=ff), which is the white color.

Done, you have a .LSS image file.

Comments

Markine said…
Thanks...Good work...
Anonymous said…
Note that you can use mtPaint to convert your PNG into lss file and it is installed by default. Hugs!

Popular posts from this blog

Howto Install BSNL wll clarity phone in Ubuntu

Hello linixians, Failed to access internet through your bsnl clarity phone.... Here is an easy way 1. Just download this executable..... bsnlclarity and save it to your home folder. 2. Connect your phone to the system with the usb cable. 3. Now at terminal type $ sudo ./bsnlclarity You will be asked for your username and password for accessing the internet enter it ..... now start surffing Ctrl+C to stop

Blank (or black) screen after boot process in Ubuntu

You may encounter a blank screen after boot in ubuntu. This will be due to some update of certain packages. Follow these steps to correct the problem. 1. Select recovery mode from the boot menu. 2. Select login as root from the menu in recovery mode. 3. Type this at the prompt # sudo apt-get remove xorg-driver-fglrx # sudo dpkg-reconfigure -phigh xserver-xorg 4. Exit # exit 5. Now select Resume normal boot from the menu. Every thing should be OK by now. Please comment about your experience.

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect...