Making Grubs menu look better

While I was poking around setting up my triple boot system, I remember seeing a picture of someone else’s system where the menu choices were preceeded with a graphic. There was the circular Suse emblem in front of the openSUSE choices and the colored Windows emblem in front of the Windows choice. I thought how nice that looked and was excited that I’d soon be able to see the same. I foolishly thought it would magically appear on my system and therefore didn’t make the url of the picture I saw.

Well, the Windows graphic is there, but the openSUSE emblem is not, nor is the Fedora emblem. My Linux systems feel left out! I’ve looked at /boot/grub2/grub.conf and can’t see where the Windows graphic resides nor how it is shown. I looked at the files in /etc/grub.d and can’t find any hints there.

Does anyone know where the Windows graphic comes into play, and how I can provide an openSUSE and a Fedora graphic on my menu?


grub2 themes are stored here:


Than you have to enable the Theme via Yast-----Bootloader.

Themes are in the package:

Or download a theme and store it in the place I have mentioned.

At my Machine:

ls -l /boot/grub2/themes/
insgesamt 16
drwxr-xr-x 3 root root 4096 30. Mai 2013  Archlinux
drwxr-xr-x 3 root root 4096 30. Mai 2013  Archxion
drwxr-xr-x 2 root root 4096 23. Nov 11:15 hitman
drwxr-xr-x 3 root root 4096 21. Nov 18:03 openSUSE

The Icons are stored in the icon-Directory.

I think that comes from the “–class windows” on the Windows line in “/boot/grub2/grub.cfg” and uses the file “windows.png” in “/boot/grub2/themes/openSUSE/icons”.

This isn’t making any sense! I looked at /boot/grub2.grub.cfg to see what the class statement said. I then looked into /boot/grub2/themes/openSUSE/icons and found that the windows icon was the only one that matched the class statement. I decided to rename one of the icons and reboot to see if I was on the right track. So, I renamed windows.png to windows-icon.png, and then ubuntu.png to windows.png. I did this using Dolphin. When I did that, the icon representing the file I just renamed (ubuntu.png) changed to the windows icon! I tried several more changes, I tried making the changes using konsole and no matter what, the picture of the file follows the name. It is as though the preview picture representing the file is based on the name rather than the contents. I don’t understand how that can be?


Icon’s are always arbitrary. It takes a huge amount of programing to determine what you are linking to. Only rational way is to pair off names

You are right! The reason the other icons were not being displayed is that the icon file names to not match what is in the “–class xxxxx” lines for the other systems.

Here is what I was after:

I admit I modified grub.cfg, which I know will get overwritten at the next kernel update, but I now have a pattern and I only need to learn what to put into the custom config files so my choices will be incorporated by grub2-mkconfig. That should be easy;)



I might need a Tumbleweed graphic :stuck_out_tongue:

The script I wrote enables you to easily switch between or modify the background graphic, and the text (placement, size, font, etc)
Does not modify the text content which is determined by grub.cfg


Wouldn’t that be just the regular graphic except all brown and dried up looking? lol!

Oh Boy! A script I can look at, learn from, modify to fit my likes and use over and over! Thanks!

I was thinking of a graphic of a rolling tumbleweed on the prairie.

(I don’t really care, since I see the grub menu for such a short amount of time).

… well, actually:

At this time of the year, it is a moderate lump on a blanket of white.

But still contain all the thorns, stickers and spikes! :open_mouth:

Perhaps Tumbleweed is actually an apt name for that dist?