Skip to content

uiriansan/LainGrubTheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This theme was designed for a 1920x1080 display. Refer to the wiki to see how to customize it for a different resolution.

Installation

git clone --depth=1 https://github.com/uiriansan/LainGrubTheme && cd LainGrubTheme && ./install.sh

Manual installation

  1. 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
  1. Copy lain/ into /boot/grub/themes/:
sudo cp -rf lain /boot/grub/themes/
  1. In /etc/default/grub, uncomment the line that says "GRUB_THEME" and add the path to theme.txt:
sudoedit /etc/default/grub

    # It should look like this:
    GRUB_THEME="/boot/grub/themes/lain/theme.txt"
  1. Set GRUB_GFXMODE= to the correct resolution:
GRUB_GFXMODE=1920x1080
  1. Optionally, make Grub remember the last option selected by modifying GRUB_DEFAULT= and GRUB_SAVEDEFAULT=:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true # Make sure to uncomment this one.

Patch GRUB entries

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.

Patching manually

Read the wiki.

Customizing

There is a quick guide on how to customize this theme further in the wiki

Special thanks