Themes

GRUB allows you to design its interface graphical design for its menu, user interface and etc. These are known as "themes". In this section, we cover all available options and configurations. The specification is available at: https://www.gnu.org/software/grub/manual/grub/html_node/Theme-file-format.html


Designing themes for GRUB is not easy task. It's best to collaborate with other artists to make an awesome outcome. Here's a good start:

Theme Directory

The theme directory for bootloader is inside your grub directory with the common name themes. Then, inside this directory, each themes is organized under its own respective directory. Hence, for a generalized grub paths, it is:

/boot/grub/themes/<your_theme_name>

Here's an example:

/boot/grub/themes/poly-light

Theme File

The theme file is a text file. It is recommended to name it as theme.txt and store it inside your theme directory. Example:

/boot/grub/themes/<your_theme_name>/theme.txt

Here's an example:

/boot/grub/themes/poly-light/theme.txt

Selecting GRUB Theme

To select a theme for GRUB to load, simply declare the GRUB_THEME variable pointing to your theme file.

GRUB_THEME=/boot/grub/themes/<your_theme_name>/theme.txt

Based on the example above:

GRUB_THEME=/boot/grub/themes/poly-light/theme.txt

Styled Boxes

Layout for quick styling. It uses the directional approach to quickly set a content on screen:

Northwest (nw)        North (n)        Northeast (ne)
West (w)              Center (c)       East (e)
Southwest (sw)        South (s)        Southeast (se)

That's all about overview for GRUB Themes. Feel free to explore the sub-sections for in-depth information.