Bug#500134: /etc/grub.d/05_debian_theme: make changing splash image easier
Robert Millan
rmh at aybabtu.com
Sun Oct 5 11:18:23 UTC 2008
On Thu, Sep 25, 2008 at 01:54:15PM +0200, Krzysztof Burghardt wrote:
> Package: grub-pc
> Version: 1.96+20080724-10
> Severity: wishlist
> Tags: patch
>
> Dear GRUB2 package maintainers,
>
> I'd like to introduce to /etc/grub.d/05_debian_theme config file enchances
> provided by Yan Morin. Those enchances makes changing colors and splasimages
> easier. If you, decide to accept this patch I will provide grub2-spalshimges
> package with updated README to keep it in sync with grub-pc package.
>
> --- /etc/grub.d/05_debian_theme 2008-09-06 14:20:12.000000000 +0000
> +++ /home/kb/NEW/05_debian_theme 2008-09-25 11:45:52.943328554 +0000
> @@ -2,6 +2,11 @@
>
> source /usr/lib/grub/update-grub_lib
>
> +THEME_IMAGE_FILE=debian-blueish-wallpaper-640x480
> +THEME_IMAGE_COLOR_NORMAL=black/black
> +THEME_IMAGE_COLOR_HIGHLIGHT=magenta/black
> +THEME_IMAGE_GRUB=/usr/share/images/grub/
> +
> set_blue_theme()
> {
> cat << EOF
> @@ -13,7 +18,7 @@
> # check for usable backgrounds
> use_bg=false
> if [ "$GRUB_TERMINAL" = "gfxterm" ] ; then
> - for i in {/boot/grub,/usr/share/images/desktop-base}/debian-blueish-wallpaper-640x480.{png,tga} ; do
> + for i in {/boot/grub,/usr/share/images/desktop-base,${THEME_IMAGE_GRUB}}/${THEME_IMAGE_FILE}.{png,tga} ; do
Please could you have user provide a full path instead, so the heuristic can
be avoided when she does?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
More information about the Pkg-grub-devel
mailing list