Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
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?
Then it works for all users, and only on virtual terminals. If you use the .profile approach, it does it for xterms etc, and that's not what you want when you want transparency
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.