Grub4dos bootloader menu images

Themes, icons, wallpapers, etc.
Post Reply
Message
Author
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Grub4dos bootloader menu images

#1 Post by bigpup »

This is another topic about this by nic007:
http://www.murga-linux.com/puppy/viewto ... 7&t=111448
There are more xpm images posted there.


This is for Grub4dos boot loader that comes in most Puppies.


Attached are some images that can be used for the boot menu.
Unpack the tar.gz package after download.

If you want to make your own xpm images.
They are limited to max of 14 colors.
Size of 640X480.

How to make them work:
1. Locate the Grub4dos menu.lst file
2. Click on it to open in a text editor
3. You are going to modify the first few lines in the menu.lst (lines 1 to 4)
4. Make them look like this:

Code: Select all

# menu.lst produced by grub4dosconfig
splashimage=
#foreground=
#background=
5. place an image.xpm file in the exact location of the menu.lst file.
6. Put the name of the image.xpm in the splashimage=
Example:

Code: Select all

splashimage=soft-tux.xpm
Now the menu.lst will look like this:

Code: Select all

# menu.lst produced by grub4dosconfig
splashimage=soft-tux.xpm
#foreground=
#background=
7. Save the changes to the menu.lst
8. Reboot to see the new menu.

Here is example of (step 5) where to place the xpm image files. Only need one, but this shows all of them:
Attachments
capture21098.jpg
(23.19 KiB) Downloaded 588 times
grubmenuimages.tar.gz
Download, unpack the tar.gz package
should end up with a directory with all the images inside.
(249.25 KiB) Downloaded 392 times
Last edited by bigpup on Sun 10 Feb 2019, 17:01, edited 6 times in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

By default Grub4dos menu uses white for the lettering and black for the background.

What do the foreground= and background= do?


foreground= will control the color of the lettering in the boot menu.
background= will control the color of the background.



To use them. Remove the (#) from in front of the line.
Place a code for the color to use after the (=)

Example:

Code: Select all

# menu.lst produced by grub4dosconfig-v1.9.2
splashimage=/soft-tux.xpm
foreground=FFFFFF
background=EF0303
White letters and red background

NOTE:
Changing the background= to something other than default black, does not look to good. It overrides the color in the image.xpm.
I just do not use it by keeping the (#) at start of the background= line.

TIP:
For foreground=
White always seems to look good.
Color to choose is going to depend on the background color of the image.xpm you are using.
Not so dark green works.
Dark to light blue on some works.
Sometimes black.
etc......

Xenilapup has the program Gcolor2 color chooser that will give you the color codes.
Can also get them from mtPaint program palette editor.
Last edited by bigpup on Wed 03 Jan 2018, 03:56, edited 1 time in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

Are the xpm images still limited to 14 colours? Anyways, here is my thread about this topic, I also attached some xpm images I made myself to that thread. http://www.murga-linux.com/puppy/viewto ... 7&t=111448

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#4 Post by Sailor Enceladus »

nic007 wrote:Are the xpm images still limited to 14 colours? Anyways, here is my thread about this topic, I also attached some xpm images I made myself to that thread. http://www.murga-linux.com/puppy/viewto ... 7&t=111448
I believe scientist got 32-bit color working by using grub4dos 0.4.6 alpha instead the normal 0.4.4:
http://www.murga-linux.com/puppy/viewto ... 329#879329

I used these backgrounds in 0.4.4 on my dad's laptop (currently hubble.xpm, he likes space :) ).

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

nic007 wrote:Here is my thread about this topic, I also attached some xpm images I made myself to that thread. http://www.murga-linux.com/puppy/viewto ... 7&t=111448
Thanks nic007!!!
I was looking for that topic of yours.

I will put a link to it in the first post.

Thanks!!!

Multiple topics on the same subject is kind of a thing on this forum. :D :lol:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply