Hi,
usually grub coming from Budgie has a grey blackground.
For few days I have a black background with a blue overlay. It works as expected.
I know when that changed : when I modified /etc/default/grub
on that only line
GRUB_DISTRIBUTOR=`echo -n $(lsb_release -ds 2> /dev/null || echo Debian) Budgie`
in order to have the name Budgie displayed ( multi-boot here, mainly with ubuntu systems ).
Why does the « look » of grub change after that ?
I’d prefer the grey one… if easy to get back.
It seems it’s because of that in /etc/grub.d/05_debian_theme
set_default_theme(){
case $GRUB_DISTRIBUTOR in
Tanglu|Ubuntu|Kubuntu)
# Set a monochromatic theme for Tanglu/Ubuntu.
echo "${1}set menu_color_normal=white/black"
echo "${1}set menu_color_highlight=black/light-gray"
if [ -e /usr/share/plymouth/themes/default.grub ]; then
sed "s/^/${1}/" /usr/share/plymouth/themes/default.grub
fi
# For plymouth backward compatiblity. Can be removed
# after xenial.
if [ -e /lib/plymouth/themes/default.grub ]; then
sed "s/^/${1}/" /lib/plymouth/themes/default.grub
fi
;;
*)
# Set the traditional Debian blue theme.
echo "${1}set menu_color_normal=cyan/blue"
echo "${1}set menu_color_highlight=white/blue"
;;
esac
}
Since I have changed GRUB_DISTRIBUTOR in my /etc/default/grub
then it applies the traditional Debian theme.
Not sure how to « improve » that.
Should I add Budgie in the list here
case $GRUB_DISTRIBUTOR in
Budgie|Tanglu|Ubuntu|Kubuntu)
?
Later : answer is no, not enough…
In my grub, that system appears as Ubuntu 20.04.1 LTS GNU/Linux Budgie - it was previoulsy « only » Ubuntu, a shape I don’t like as I have many *buntu installed on my machine.
Ok… so I ended up modifying :
django@ASGARD:~$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
set color_normal=white/dark-gray # définit les couleurs de texte/fond d'écran autour du cadre de menu
set menu_color_normal=white/dark-gray # définit les couleurs de texte/fond d'écran dans le cadre de menu
set menu_color_highlight=dark-gray/white # définit les couleurs de texte/surbrillance pour la ligne de menu sélectionnée
django@ASGARD:~$
Lemme know if you see a better alternative.