LinuxQuestions.org
Help answer threads with 0 replies.
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 04-30-2003, 01:17 AM   #1
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
change font color...no NOT in X


i wanted to change the font color of the text i see before X is started. I dont know if im wording this right. but the text i want to change is the text here:

Linux 2.4.20
centro login:

ive talked with many and they say to edit .bashrc file. .bashrc doesnt exist. I have edited my prompt by editing the /etc/profile.

i guess my question is. how do i change the font color before i startx???
 
Old 04-30-2003, 01:25 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Assuming you use bash check this out:

http://tldp.org/HOWTO/Bash-Prompt-HOWTO/
 
Old 04-30-2003, 01:27 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
You can also stick something like "setterm -foreground green -store" (no quotes!) in /etc/rc.d/rc.local which will change the font color to green. You can have a different background color and some other goodies described in man setterm.
HTH
-NSKL
 
Old 04-30-2003, 06:44 PM   #4
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by NSKL
You can also stick something like "setterm -foreground green -store" (no quotes!) in /etc/rc.d/rc.local which will change the font color to green. You can have a different background color and some other goodies described in man setterm.
HTH
-NSKL
thanks thats what i was looking for! now i want more lol. i had set the foreground and it worked. but is there a line i can add before all that stuff initializes. what it does is it scrolls in white then when it gets to the log on screen it goes green. i just want all of it green. is this possible? if so which script should i edit?
 
Old 05-01-2003, 04:29 AM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
It's hard. You need to pass the setterm line before everything else, but that is impossible since no drives are mounted yet, CPU is just being detected and initialized, etc.. The only thing that comes to mind is to read LILO docs, maybe they have a way of doing this. Or dig through /etc/rc.d/rc.S which is the first startup script, maybe you find something there..
-NSKL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Change font color xterm aeruzcar Linux - Software 3 01-04-2012 05:48 PM
change gnome panel font color tdxloki Linux - General 10 11-16-2005 12:09 PM
Change font COLOR in window title aeruzcar Linux - General 3 09-15-2005 12:26 AM
change the font color Drunkalot Linux - General 2 08-09-2005 11:37 PM
change the console font color minike Slackware 3 08-30-2004 06:11 PM


All times are GMT -5. The time now is 04:06 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration