Demo using backgrounds from the HyperFluent theme (backgrounds resized to 1920x1080):
VID_20250920_212542.mp4
cp gfxmenu.mod custom.cfg /boot/grub/- Inside your theme folder, create a new folder named
backgroundsand copy your background images into this folder. Use the same naming scheme as theiconsfolder (e.g.backgrounds/arch.png). - Resize the backgrounds to match your screen resolution (or smaller if it is slow).
GRUB2 should now automatically load the patched gfxmenu module which dynamically loads a background based on the selected menu entry class.
- Clone the GRUB repository and apply
view.patch. - Build GRUB and copy the module
gfxmenu.modfrom thegrub-corefolder.
I tested it with GRUB 2.12 (EFI), but it should work on any distro with GRUB 2.12. It probably won't work on other GRUB2 versions. Use it at your own risk. I am not responsible for any issues, damage, or loss that may result from using the patched module.