Package: grub-commonVersion: 1.98~20100101
The scripts currently included with grub-common generates the hidden-menu code 
in the wrong position of the grub.cfg file, thus causing incorrect behavior of 
grub specially when using background images (wallpapers).
If the user enables GRUB_HIDDEN_TIMEOUT in /etc/deault/grub, the following code 
section is generated in /boot/grub.cfg:
set locale_dir=/boot/grub/locale                                         set 
lang=en                                                              insmod 
gettext                                                           if sleep 
--verbose --interruptible 3 ; then                                set timeout=3 
                                                         fi                     
                                                  ### END /etc/grub.d/00_header 
###                                        
### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=cyan/blue        
  set menu_color_highlight=white/blue      ### END /etc/grub.d/05_debian_theme 
###  
This code generated brings the following issues:1.  No message to warn user how 
to get back to the menu, only a number countdown is shown onscreen.2. If the 
user press a key to show the grub menu, it again resume another counter with 
the same duration.3.  Most important, since the code is inserted prior to the 
theme, the countdown is displayed on a black screen even if the user has a 
working wallpaper for grub.
Included are 2 patches that fix the 3 issues explained.  The first patch only 
removes the timeout code from 00_header, and the second one introduces a new 
07_timeout which handles the timeout code, after the theme/color script.
The only shortcoming with my patches is that the Countdown message is hardcoded 
in English, probably will need translations or some extra code for other 
locales.                                         
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/

Attachment: 00_header_notimeout.patch
Description: Binary data


Attachment: 07_timeout.patch
Description: Binary data

Reply via email to