This theme was designed for a 1920x1080 display. Refer to the wiki to see how to customize it for a different resolution.
git clone --depth=1 https://github.com/uiriansan/LainGrubTheme && cd LainGrubTheme && ./install.sh
- Clone this repo:
Note
You can also download the compressed files from the latest release.
git clone --depth=1 https://github.com/uiriansan/LainGrubTheme.git
cd LainGrubTheme
- Copy
lain/
into/boot/grub/themes/
:
sudo cp -rf lain /boot/grub/themes/
- In
/etc/default/grub
, uncomment the line that says "GRUB_THEME" and add the path totheme.txt
:
sudoedit /etc/default/grub
# It should look like this:
GRUB_THEME="/boot/grub/themes/lain/theme.txt"
- Set
GRUB_GFXMODE=
to the correct resolution:
GRUB_GFXMODE=1920x1080
- Optionally, make Grub remember the last option selected by modifying
GRUB_DEFAULT=
andGRUB_SAVEDEFAULT=
:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true # Make sure to uncomment this one.
There are some limitations to what a GRUB theme can do. By default, some GRUB entries have really long names and no icons (e.g. os-prober entries and Advanced options). To change this, we need to edit some GRUB scripts located in /etc/grub.d/
. Run patch_entries.sh
to apply some changes automatically.
Read the wiki.
There is a quick guide on how to customize this theme further in the wiki
- AdisonCavani/distro-grub-themes: Code reference;
- fauux.neocities.org: Lain banner image.