# Grub changed its colors?

**URL:** <https://discourse.ubuntubudgie.org/t/grub-changed-its-colors/4171>\
**Category:** Budgie Desktop\
**Created:** [September 19, 2020, 3:41pm UTC](https://discourse.ubuntubudgie.org/t/grub-changed-its-colors/4171 "2020-09-19T15:41:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [September 19, 2020, 3:41pm UTC](https://discourse.ubuntubudgie.org/t/grub-changed-its-colors/4171/1 "2020-09-19T15:41:57Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [September 20, 2020, 8:38pm UTC](https://discourse.ubuntubudgie.org/t/grub-changed-its-colors/4171/2 "2020-09-20T20:38:28Z")

</div>

It seems it’s because of that in `/etc/grub.d/05_debian_theme`

```auto
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

```auto
	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.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [September 21, 2020, 2:57pm UTC](https://discourse.ubuntubudgie.org/t/grub-changed-its-colors/4171/3 "2020-09-21T14:57:53Z")

</div>

Ok… so I ended up modifying :

```auto
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.
