Your Ad Here

Sunday, July 26, 2009

Give a boot menu a wallpaper

         Debian’s boot menu is ugly and looks like it’s straight out of 1990. It doesn’t have to be this way. Debian uses the GRUB menu software, and that’s capable of having a graphical backdrop that can be any picture of wallpaper. However, you’ll need to shrink the picture and reduce its color level.

wallpaper on boot menu linux

1.Choose a picture and then load it into the GIMP (right-click and select Open With ! Open with "GIMP Image Editor").You should select a picture that’s roughly in 4:3 ratio, such as a digital camera snap. Don’t select very tall or broad images—they won’t work.

2. Right-click the image within GIMP and select Image !Scale Image.In the Width box, type 640 and hit the Tab key. The Height box should then automatically change to 480. If it doesn’t, click the small chain icon to the right of the Width and Height boxes, so that it changes to a broken chain icon. Then enter 480 into the Height box. Once done, click the Scale button.

3. Right-click the image again within The GIMP and select Image ! Mode ! Indexed. Ensure Generate Optimum Palette is selected, and then type 14 into the Maximum Number of Colors box. Then click the Convert button. The picture might now look ugly, but such a low color count is all the GRUB boot menu allows.

4. Right-click the image again within GIMP and select File ! Save As. Give the file a name in the Name box, and use the .xpm file extension. You might save the file as bootwallpaper.xpm, for example. Bear in mind that GIMP automatically detects the file type it should save the file as from the file extension. Click OK to select the default alpha values, if prompted.

5. Open a terminal window and type the following(this assume file save in home folder)

$ sudo mkdir /boot/grub/splashimages
$ gzip tobi.xpm
$ sudo mv tobi.xpm.gz /boot/grub/splashimages

6. Replace tobi mentions above with the filename you chose.

7. Then open the boot menu file for editing in Gedit:

$ gksu gedit /boot/grub/menu.lst

Look for the line that begins ## ## End Default Options ## and, below,
add a new line that reads splashimage=(hd0,0)/boot/grub/splashimages/tobi.xpm.gz.

Note that the last step above assumes your computer is dual-booting with Windows. If Ubuntu is not only operating system on your computer,
the line should read splashimage=(hd0,4)/boot/grub/splashimages/tobi.xpm.gz


0 komentar:

Post a Comment


My Room Temperature

My Pressure

My Humidity