From de47ff838527a6cf636f6c28e717f87629a66bf0 Mon Sep 17 00:00:00 2001 From: Darshaka Pathirana Date: Wed, 18 Dec 2024 17:31:51 +0100 Subject: [PATCH] GRUB theme: replace desktop-color with desktop-image In b0b979ef the GRUB theme was replaced. When selecting any sub menu entry under "Options" the following error is shown: | error: null src bitmap in grub_video_bitmap_create_scaled. | Loading kernel... | Loading initrd... | | Press any key to continue... We already ran into this. It was fixed by replacing the desktop-color with a small black.png as desktop-image, see: 8a09c98f and grml/grml#16 Closes: grml/grml-live#209 --- templates/boot/grub/grml-theme/black.png | Bin 0 -> 116 bytes templates/boot/grub/grml-theme/sb-theme.txt | 3 +-- templates/boot/grub/grml-theme/theme.txt | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 templates/boot/grub/grml-theme/black.png diff --git a/templates/boot/grub/grml-theme/black.png b/templates/boot/grub/grml-theme/black.png new file mode 100644 index 0000000000000000000000000000000000000000..83736f65359519e0265cc4748b4226f14e4705e9 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V6Od#Ihv&H8#zm`9|5-P`if9Dd#S3o4s| P#xQug`njxgN@xNA0n#Le literal 0 HcmV?d00001 diff --git a/templates/boot/grub/grml-theme/sb-theme.txt b/templates/boot/grub/grml-theme/sb-theme.txt index b1352043a..12118deb0 100644 --- a/templates/boot/grub/grml-theme/sb-theme.txt +++ b/templates/boot/grub/grml-theme/sb-theme.txt @@ -1,6 +1,6 @@ title-text: "" title-color: "#FFF" -desktop-color: "#000" +desktop-image: "black.png" + image { file = "logo.png" @@ -17,7 +17,6 @@ desktop-color: "#000" width = 92%-180 top = 25% height = 55% - # TODO: set height=60% item_color = #FFF selected_item_color = #000 item_spacing = 4 diff --git a/templates/boot/grub/grml-theme/theme.txt b/templates/boot/grub/grml-theme/theme.txt index 9a7f7ac19..806308aec 100644 --- a/templates/boot/grub/grml-theme/theme.txt +++ b/templates/boot/grub/grml-theme/theme.txt @@ -1,6 +1,6 @@ title-text: "" title-color: "#FFF" -desktop-color: "#000" +desktop-image: "black.png" + image { file = "logo.png" @@ -17,7 +17,6 @@ desktop-color: "#000" width = 92%-180 top = 25% height = 55% - # TODO: set height=60% item_color = #FFF selected_item_color = #000 item_spacing = 4