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,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 usedto 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,
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.)You're right. I am using a older version of rEFInd. I'll upgrade later tonight and report back.
Thanks!
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