vinceliuice / grub2-themes

Modern Design theme for Grub2
GNU General Public License v3.0
3.29k stars 236 forks source link

Icon for UEFI settings #185

Open Firestar-Reimu opened 1 year ago

Firestar-Reimu commented 1 year ago

You can use the UEFI forum logo: https://commons.wikimedia.org/wiki/File:Uefi_logo.svg

Or make a logo like UEFI settings on Microsoft Surface: https://imgur.com/a/Ipub82j

mateo-sheme commented 5 months ago

Question, how do you assign the UEFI entry to the UEFI image. Looking at the icons, they have just the OS name and a .png. Looking also at the theme file it does just that, however how can I manually assign it?

Edit, finally figured it out. Basically, all the entries on grub are assigned to a class, according to the theme config it looks for a class.png in the icon's folder. Operating Systems are already assigned to class, --class windows for Windows as an example at the grub.cfg file. The icons already exist for both, so both find their way to be assigned. However, UEFI doesn't have a class of its own. There is an efi.png inside the icons but is never used.

According to this issue, you have to manually assign the UEFI entry to --class efi by yourself. On Fedora, it is at /etc/grub.d/proxifiedScripts/uefi-firmware. Simply assign a class and update the grub config file. Again for fedora.

Here is another similar issue.

Hope this helps!