LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2006, 05:46 PM   #1
Dr. Psy
Member
 
Registered: May 2005
Distribution: Slackware 10.1
Posts: 49

Rep: Reputation: 15
Changing font color during bootup


I have looked everywhere for this information and cannot find anything of use.

How can I change the color of the font used during bootup? Like, once booted up, you can change the font color with 'setterm', but how can I change the font color during the initial bootup?

Thanks in advance.
 
Old 12-16-2006, 01:03 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You can't change the color of the font that is used by the kernel messages. But you could alter the init scripts to turn on color for the messages from the init scripts themselves. Still, the output would be mixed during bootup since the kernel and init messages get mixed up -this is actually useful for figuring out where the message comes from.
Here's a list of a few standard ANSI colors which I use in several scripts I've written:

# ANSI COLORS
CRE=""
NORMAL=""
# RED: Failure or error message
RED=""
# GREEN: Success message
GREEN=""
# YELLOW: Warnings
YELLOW=""
# BLUE: Summary messages
BLUE=""
# CYAN: Current Process
CYAN=""

If you want to try it, you could open /etc/rc.d/rc.S and put aline like this
at the top:
echo ""
That will make all the ouput blue.
Then you can turn it back off in /etc/rc.d/rc.local with this:
echo ""
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs - changing default font size and font type? neilcpp Linux - Software 16 05-20-2013 11:29 AM
Changing Terminal background colour and font color dpbatagoda Linux - Newbie 0 12-05-2003 12:38 AM
Changing font color in init3 psyklops Linux - General 7 08-25-2003 01:45 AM
font color Joey.Dale Linux - General 1 06-19-2003 12:52 PM
Changing font color uglyvorys Linux - General 2 02-02-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration