Menu

Custom stdBackgroundPixel and/or menuBackgroundPixel colors?

2013-12-20
2013-12-23
  • Evan Purkhiser

    Evan Purkhiser - 2013-12-20

    Hi!

    I've been using rEFInd for a while now and just love it!

    One of the things I've noticed is after selecting a boot entry, for a
    split second the screen will flash gray (#bfbfbf). I suspect this is
    the same color Apple uses for their boot screen, giving rEFInd a nice
    seamless integration for booting OSX on Apple hardware. However, for
    other boot screens this may not be desired.

    I see that two colors are defined in screen.c: stdBackgroundPixel
    and menuBackgroundPixel. It looks like menuBackgroundPixel is used
    to clear the screen after selecting a boot entry.

    Would it be difficult to add a configuration option to set this color?

    I would be willing to write a patch for this. But am not sure what the
    easiest development strategy is to test my changes?

    Thanks,

     
  • Roderick W. Smith

    What version of rEFInd are you using? I changed the screen-clearing behavior with version 0.7.5, so if you're using something older than that, please upgrade and report back. If you're already using the latest version, please check your use_graphics_for option; you may want to experiment with this. (If you're launching Linux, the default should prevent this from happening -- but maybe there's a bug.)

     
  • Evan Purkhiser

    Evan Purkhiser - 2013-12-21

    You're right. I am using a older version of rEFInd. I'll upgrade later tonight and report back.

    Thanks!

     
  • Evan Purkhiser

    Evan Purkhiser - 2013-12-23

    I've upgraded to rEFInd version 1.7.6. It now flashes to a slightly more blue-ish gray background before the linux kernel takes over.

    I've tried a few different settings with the use_graphics_for option, but they all produced the same blue-gray screen clear.

    Ideally the screen clearing color could be configurable as I use a custom color scheme for my VT101 Linux terminal during boot, so the background isn't necessarily black.

     

    Last edit: Evan Purkhiser 2013-12-23

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.