mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-29 16:39:19 +00:00
Set a monochromatic theme and an appropriate background for Ubuntu.
This commit is contained in:
parent
2a521bc7b0
commit
de99029fea
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -8,6 +8,7 @@ grub2 (2.00-13) UNRELEASED; urgency=low
|
|||||||
"Ubuntu".
|
"Ubuntu".
|
||||||
- source_grub2.py: Use attach_default_grub from apport's hookutils.
|
- source_grub2.py: Use attach_default_grub from apport's hookutils.
|
||||||
- Output a menu entry for firmware setup on UEFI FastBoot systems.
|
- Output a menu entry for firmware setup on UEFI FastBoot systems.
|
||||||
|
- Set a monochromatic theme and an appropriate background for Ubuntu.
|
||||||
|
|
||||||
-- Colin Watson <cjwatson@debian.org> Mon, 28 Jan 2013 11:08:07 +0000
|
-- Colin Watson <cjwatson@debian.org> Mon, 28 Jan 2013 11:08:07 +0000
|
||||||
|
|
||||||
|
10
debian/grub.d/05_debian_theme
vendored
10
debian/grub.d/05_debian_theme
vendored
@ -28,9 +28,19 @@ test -d /boot/grub; cd /boot/grub
|
|||||||
BACKGROUND_CACHE=".background_cache"
|
BACKGROUND_CACHE=".background_cache"
|
||||||
|
|
||||||
set_default_theme(){
|
set_default_theme(){
|
||||||
|
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.
|
# Set the traditional Debian blue theme.
|
||||||
echo "${1}set menu_color_normal=cyan/blue"
|
echo "${1}set menu_color_normal=cyan/blue"
|
||||||
echo "${1}set menu_color_highlight=white/blue"
|
echo "${1}set menu_color_highlight=white/blue"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
module_available(){
|
module_available(){
|
||||||
|
Loading…
Reference in New Issue
Block a user