A GRUB theme customization App for Linux
Requirements: Java
To use this app, enter the following commands in your terminal:
git clone https://github.com/AseedUsmani/GReza.git
cd GReza
sudo ./GReza
Tips on customization:
- The script will ask for an image path, it can be an internet URL or a local path.
- The color of the custom message you enter is in RGB, where
#FFFFFF
is white and#000000
is black. Enter a blank message (space) to remove the image. - The bootloader images (background and selected) are determined by
select_bkg_*.png
andselect_bg_*.png
; where c stands for center, n, ne, s etc stands for North, North-East, South etc. Same rule applies to terminal background. - You can edit theme.txt for further customization.
- To change the order or the names of the menu items in bootloader, edit
/boot/grub/grub.cfg
. - In case an icon is missing, add
--class <icon_name>
to the line containing the menu item. For example:submenu 'Advanced menu for Ubuntu' --class submenu
... will put the image filesubmenu
as the icon of this item. To put your icons, copy the image file in./GReza/icons
directory.
Files you can consider editing
- ImgResize.java
- TextToGraphics.java
- GReza
- theme.txt
/boot/grub/grub.cfg
Please be cautious while editinggrub.cfg
.
PS: You do not need to recompile .java
files in order to see changes.
Credits: https://github.com/safiyat/GReza