LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   console colors (https://www.linuxquestions.org/questions/linux-newbie-8/console-colors-348512/)

smartentity 07-31-2005 03:32 AM

console colors
 
Hi,

Does anybody know how to change the linux default console color ? It is grey on black by default but I want it to be green on black.

Best Regards

cdhgee 07-31-2005 05:38 AM

Depends which console you're using. If you're running under Gnome then it's probably gnome-terminal, which you can change the colours by going to Edit > Profiles > Default > Edit > Colours. If you're under KDE then it's probably konsole and there's a similar option somewhere in the menus.

smartentity 08-01-2005 06:02 AM

Thank you cdhgee,

but I mean none of them, I do not mean the terminal window, I mean the command ptompt mode console, that you access through Ctrl-Alt-F1.

Best for you

LuggerHouse 08-01-2005 07:51 AM

Hummm... Good question!!

I will look into it ;)

LuggerHouse 08-01-2005 09:00 AM

Well there is a lot of places they mention about setterm... try

setterm -foreground black -background white -store

it didn't work for my distro (RH9) but maybe...

Another popular way is changing the background directely in the console.c file and recompiling...

more news if I find anything else

smartentity 08-03-2005 12:01 AM

Dear LuggerHouse,

I added the following line to the end of .bashrc

export PS1="\\033[1;32m[\u@\h \W]\\$ "

and now I have the MATRIX console.:cool: (Green on Black).

have fun.

LuggerHouse 08-03-2005 08:34 AM

Thanks Smart :)

I already do that ;-) My problem start when I would like to change the "on black"...

I settled up my ssh program (Secure CRT) to display a white background with black writing for Production servers but I was never able to set this directely on the console...

Cheers!


All times are GMT -5. The time now is 03:40 PM.