LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   change font color...no NOT in X (https://www.linuxquestions.org/questions/slackware-14/change-font-color-no-not-in-x-57414/)

centr0 04-30-2003 12:17 AM

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???

jtshaw 04-30-2003 12:25 AM

Assuming you use bash check this out:

http://tldp.org/HOWTO/Bash-Prompt-HOWTO/

NSKL 04-30-2003 12:27 PM

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

centr0 04-30-2003 05:44 PM

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?

NSKL 05-01-2003 03:29 AM

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


All times are GMT -5. The time now is 08:25 PM.