[Trac #519] Change Linux startup to use black on white
Zarro Boogs per Child
bugtracker at laptop.org
Mon Dec 4 20:29:20 EST 2006
#519: Change Linux startup to use black on white
-------------------------------+--------------------------------------------
Reporter: wmb at firmworks.com | Owner: marcelo
Type: defect | Status: new
Priority: normal | Milestone: BTest-2
Component: kernel | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Comment (by JordanCrouse):
I played with the console a bit this afternoon - I tried to figure out a
sane way to specify the desired color scheme on the kernel command line,
but all the solutions were way too ugly to try to push to Linus. But I
think there is hope - if we use usplash, then all we need to do is make
sure that the kernel doesn't display anything but the blank screen (which
is easy enough to do - kill the logo and not setup console=tty0). Then,
in the initscripts before anything is output to the screen, all we need to
do is:
{{{
# Foreground black
printf "\033[30m" > /dev/ttyX
# Background white
printf "\033[47m" > /dev/ttyX
# Save the defaults
printf "\033[8]" > /dev/ttyX
}}}
Where X is every vt we're planing on supporting. Then, we clear the
screen, (which mingetty can do for us), and we're golden. This is much
easier then trying to patch the kernel to do something it really doesn't
want to do.
--
Ticket URL: <http://dev.laptop.org/ticket/519#comment:5>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list