diff --git a/debian/changelog b/debian/changelog index dcc1fe03b..f0cb6cfa9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ grub2 (2.00-13) UNRELEASED; urgency=low "Ubuntu". - source_grub2.py: Use attach_default_grub from apport's hookutils. - Output a menu entry for firmware setup on UEFI FastBoot systems. + - Set a monochromatic theme and an appropriate background for Ubuntu. -- Colin Watson Mon, 28 Jan 2013 11:08:07 +0000 diff --git a/debian/grub.d/05_debian_theme b/debian/grub.d/05_debian_theme index e97783554..60675641b 100755 --- a/debian/grub.d/05_debian_theme +++ b/debian/grub.d/05_debian_theme @@ -28,9 +28,19 @@ test -d /boot/grub; cd /boot/grub BACKGROUND_CACHE=".background_cache" set_default_theme(){ - # Set the traditional Debian blue theme. - echo "${1}set menu_color_normal=cyan/blue" - echo "${1}set menu_color_highlight=white/blue" + if [ "$GRUB_DISTRIBUTOR" = Ubuntu ]; then + # Set a monochromatic theme for Ubuntu. + echo "${1}set menu_color_normal=white/black" + echo "${1}set menu_color_highlight=black/light-gray" + + if [ -e /lib/plymouth/themes/default.grub ]; then + sed "s/^/${1}/" /lib/plymouth/themes/default.grub + fi + else + # Set the traditional Debian blue theme. + echo "${1}set menu_color_normal=cyan/blue" + echo "${1}set menu_color_highlight=white/blue" + fi } module_available(){