Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hello ladies and gentlemen,
I have another one. How does one change background and foreground color on tty? I was looking all around on the web to find an answer, the only site that mentioned a tip how to do so was in Japanese, which I, apparently, cannot understand. Does anyone know how to do so? I am tired to see black background and white foreground on my tty's I want a change.
i know there's a file in /etc/for it, controls blinking, colors, screen inversions... and is really really long and cryptic.. can't remember what it's called though!!
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
I also beleive you can change the foreground color by changing PS1 and PS2 variables. I changed my prompt look by changing those variables. So now i have a prompt that displays date, user and machine name and its green and blue.
http://www.linuxbrit.co.uk/bashprompt/ can help you a little with that. But then i saw terminals with real art (Like when you start BitchX in CLI - the BitchX Logo) but i have no idea how to get the prompt to look like that (like a old DOS game or something)
Thanks for all the replies guys, I knew I'd get some info. Hmm, I knew about /etc/termcap - I guess, I have to dive into understanding all that cryptic goop. NSKL, thanks for the link on bash prompt, I have no trouble changing PS1 variable, and thanks for more hints. But what I want to do, I want a plain white background, and black foreground, so it'll look like SunOS's terminal.
Hmmm, /etc/termcap ... I know this is the place, and the question remains how? Ok, I'll look for /etc/termcap howtos and examples.
Peace everyone.
Thanks
:POOF:
I think I got it, it is terminfo, the man page for termcap revealed that it is obsolete, terminfo is what I need, so I will delve into more cryptic goop.
No, it's not that, it defines only what colors to use when you do ls and staff, I want permanent background color to be white, and foreground to be black, that's all I need, I know I am a little spoiled but I want my terminal look like SunOS, why? because it's too dark at night to see my keyboard, I need some illumination.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.