Updated Icons

2013-09-08
2013-09-09
  • Stuart Honour
    Stuart Honour
    2013-09-08

    I know that rEFInd is themeable, but the some of the default theme's icons are looking a bit dated, particularly the Mac icon. Is there any way for rEFInd to establish which version of the OS is installed and perhaps have different icons for different versions, so that Win 8 and Win 7 can have their respective version logos and depending on the age of the OS X installation, there can be separate icons for those too?

     
  • Joe van Tunen
    Joe van Tunen
    2013-09-09

    That's doable with Mac OS if it's not located on a raid or encrypted volume. For Win 8 and Win 7 you would need to install the NTFS.efi driver for rEFInd to be able to examine the file system. The best way to solve this problem, is to add stanza support for legacy boot partitions and also add override type stanzas.

     
  • Determining the version of an installed OS would involve reading the boot loader code and looking for some unique detail in it (say, computing a checksum and comparing that to stored values). This might work in some cases, but not in all cases -- Microsoft, for instance, doesn't change its BIOS-mode boot loader with every Windows revision, so there'd be some ambiguity there. Overall, it seems like a pain to maintain a database that would inevitably be in constant flux, so I'd rather not go there.

    If it's important enough to you personally, it's fairly easily done for OS X by setting custom icons for each partition or boot loader, as described in this section of the documentation. Distinguishing between different BIOS-based versions of Windows would be trickier, although you could apply the same techniques to EFI-mode Windows installations.

    Personally, I lack much in the way of artistic talent, so I'm not going to create new icons myself. If you'd like to submit some, please feel free to do so; but I can only accept icons that are distributed under a suitable open source license, so please don't simply grab something off the Microsoft or Apple Web site and send it to me.