05_debian_theme automatically adds background image

Bug #693514 reported by drs305
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: grub2

First, thanks for the prompt fix of the GRUB_BACKGROUND bug this week.

Now, with the new 05_debian_theme, if there is an image file within /boot/grub it is automatically added as a background image. This occurs even with no GRUB_BACKGROUND line or WALLPAPER entry. If multiple images reside in the /boot/grub folder it appears to choose the filename alphanumerically ("1" first, then "a", etc).

I just had a stray .tga image in /boot/grub and it started appearing as a background. It's incorporated in the # 05_debian_theme section of grub.cfg.

(It would be an easy way to add a background, but that's probably not how you planned it.)

grub-pc 1.99-20101221-1ubuntu2

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos12)'
search --no-floppy --fs-uuid --set=root 6017dc70-c491-47a1-8083-810abd0589a5
insmod png
if background_image /boot/grub/1cappucino-clear.png; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
  if background_color 44,0,30; then
    clear
  fi
fi
### END /etc/grub.d/05_debian_theme ###

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~20101221-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.37-10.24-generic 2.6.37-rc6
Uname: Linux 2.6.37-10-generic x86_64
Architecture: amd64
Date: Wed Dec 22 13:34:12 2010
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101218)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: grub2

Revision history for this message
drs305 (drs305) wrote :
Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
drs305 (drs305) wrote :

Actually, I hope this isn't a bug. I wrote a howto about it in the Ubuntu Forums. I think it's a
 slick way to add a background and hope it isn't changed.
http://ubuntuforums.org/showthread.php?t=1739412

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.