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?
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?
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;)
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