These themes governs the global items and properties for the GRUB menu. They are known as global. There are 3 ways to assign values for these properties:
name1: noSpaceValue
- normal valuename2: "value with space"
- string valuename3: #0351FF
- color hex valueWe'll review each properties in details.
These are related to the title of the grub menu.
Specify the title string message.
Specify the font used for the title string.
Specify the color of for the title string.
These fields are meant for setting the background of the screen.
Specifies the base background color.
Specifies the image to use as the background. The image should be stored inside the /boot/grub2/themes/<your_themes>
directory.
Specifies the scaling method for the background image. Options are:
stretch
- for fitting the screen sizecrop
- proportionally scaled to fit the screen sizepadding
- repeatedly contained on the screenfitwidth
- fitting based on the screen widthfitheight
- fitting based on the screen height Default is stretch
.
Specifies the horizontal alignment of the background image if desktop-image-scale-method
value is not stretch
. Options are:
left
center
right
Default is center
.
Specifies the vertical alignment of the background image if desktop-image-scale-method
value is not stretch
. Options are:
top
center
bottom
Default is center
.
Specifies the file name pattern for the styled box slices used for the command line terminal window. For example:
terminal-box: terminal_*.png
will use:terminal_c.png
as the center areaterminal_n.png
as the north (top) edgeterminal_nw.png
as the northwest (upper left) corner, and so onIf the image for any slice is not found, it will simply be left empty.
Specifies the border width of the terminal window.
Specifies the left coordinate of the terminal window.
Specifies the top coordinate of the terminal window.
Specifies the width of the terminal window.
Specifies the height of the terminal window.
Specifies the font for the terminal window.
These are reserved fields for backward compatibility. Currently they are unused, although you can set them.