color in virtual terminal
Hi all,
I would like to change default color of my fonts in virtual terminals( CTL+ALT+F[1-6]). By default it is white. Can anybody plz tell me how to do that? Thanx in advance |
I have searched in previous posts , but was unbale to get colors .
editing /etc/init.d/console-screen.sh & adding setterm -foreground blue setterm -background black was of no use. |
Try creating an alias for ls:
Code:
alias ls="ls --color" |
I have already done that .
I am able to see directories in blue and imges in pink etc. But my problem is that , I want the default color of font ( white ) to become green ( as in my gnome terminal ). But I don't know how to do that in virtual terminal. |
|
Changing the font type and color in a virtual console is not really a simple thing, but it can be done. Here's a couple sites I've found useful:
http://rampex.ihep.su/Linux/linux_ho...lour-ls-6.html http://www.luv.asn.au/overheads/virtualconsoles.html |
thnx dude :)
& i would like to thank alienux too. This is the thing i like about community, u people who r alwys ready to help , r the real jwels of this community. The post by alienux added lot to my knowledge, how to do things at command promt. cseanburns's post was gr8 b'cause it gave me the exact thing i wanted n it was easy to remember. ( i was unable to open the second link ). Thanx once again 2 all folks 4 all help u provided. |
One more thing :D
how to make it permanent & common to all ? I put it in bash profile n bashrc , but it is temp. Where to put that command so that i dont hav to type it every time i log in |
How to change the background colour of the whole screen?
I would like to follow up with another question (is that allowed?)
I would like that when root logs in, either directly on a tty terminal or as an extra virtual term in GNU's screen - for example when from within screen I give the command 'screen su' - that root's screen is red with white foregound. All the information I have found so far only gives the escape sequences for changing the text and the backgound of the text, but not of the whole screen. Is there anything that I could put in root's .bashrc file which could change root's screen background colour? |
fyi
Quote:
|
Colour in virtual terminals...
Just run
Code:
# /bin/echo -e "\033[32;40m" >> /etc/issue |
All times are GMT -5. The time now is 10:01 PM. |