Bug#608283: 05_debian_theme: Allow override of text color

Udo Richter udo_richter at gmx.de
Wed Dec 29 17:05:02 UTC 2010


Package: grub-pc
Version: 1.98+20100804-11
Severity: wishlist
Tags: patch

With the changes of bug#605705, the background can be overwritten using
GRUB_BACKGROUND in /etc/default/grub, but changing the colors of the
menu is not possible. Depending on the background, the default colors
black/black and magenta/black might not be a good choice. My suggestion
is to also allow to override color_normal and color_highlight from
/etc/default/grub.

The attached patch does this in a way that allows overriding in all use
cases, even with a default or theme background picture. It introduces
the GRUB_BACKGROUND_COLOR_NORMAL and GRUB_BACKGROUND_COLOR_HIGHLIGHT
overrides that can be set in /etc/default/grub.

An alternative would be to use the override only if GRUB_BACKGROUND is
set. In that case, the parameters should be added to the
set_background_image "${GRUB_BACKGROUND}" line at the end.

Cheers,

Udo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: override-colors.diff
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101229/073620ba/attachment.bin>


More information about the Pkg-grub-devel mailing list