grub2-themes
grub2-themes copied to clipboard
Icon Request: Advanced options and UEFI firmware settings
Could you add icons for the advanced options and UEFI firmsare settings items in the grub menu?
Thanks!👍
There is efi.png in it, but you need to modify your grub.cfg to use it, The default grub configuration file generation script does not provide this option, so these icons will not be displayed, users can only modify the configuration file by yourself
Check this: https://github.com/vinceliuice/grub2-themes/issues/116
You can only do this by yourself
@vinceliuice Thanks for your quick reply! As I'm not very familiar with grub and the grub configuration files I'll have to do some research before I can modify them so I won't break my system. Would you think that adding a small section in README about the configuration of these icons is a good idea? (that would certainly be very helpful for noobs like me)
No problem! I'll add that!
Thanks!
This method is only tested on Ubuntu 20.04. Try at your own risk.
Firstly, edit /etc/grub.d/10_linux
and change this line
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
to
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' --class submenu \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
Secondly, edit /etc/grub.d/30_uefi-firmware
and change this line
menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
to
menuentry '$LABEL' --class efi \$menuentry_id_option 'uefi-firmware' {
Finally, run
sudo update-grub
The effect is as follows
Hope it helps.
@Brookg I was not too keen on messing with my Grub files but my OCD finally won and I ended up following your instructions. Thankfully they worked like a charm. Both "Advance Options" and "UEFI FIrmware Settings" are now showing their icons. BTW I'm double booting Manjaro & Win10. Thank you!