PDA

View Full Version : [ubuntu] changing collors of the leters in the terminal.



penduleum
February 21st, 2009, 12:35 PM
Hi all.

I know it is possible to change the collors of the terminal. As in gnome and or in the terminal (after pressing alt+ctrl+f4 or so).

I whant to have the leters in green, but i cant find the right string for it...

Where can i find it?
In gnome i have done some changes to the default theme, and i also use the transparant terminal. As my background is blue and light blue to black, the current collor set make it hard to read..

Where can i change the collor set to green on black?

thx for the help,

p.



ps: i know i need to change it in bash.rc, and i think that i know the global file location. I just cant seem to find the right string to make the changes... :(

Moop
February 21st, 2009, 12:46 PM
Open a terminal and click on edit-profile preferences and choose the colors tab. :)

penduleum
February 21st, 2009, 02:10 PM
thx for the quick reply.
but thats not what i whant o do...
Atm i cant open that because of a theme i have installed.

I just whant to eddit the bash.rc file, because of 2 things:

1.- the changes is for the hole system, and not just for that terminal on gnome.
2.- i also whana learn more about the bash.rc file.
I have already alterd some basic things, like date, time prompt line ect ect

Thats the easyest part to do for me...
so, if someone can explain me the line to put down in the file, i will be mutch apprecheated... :=)

thx in advanced,

pendel

ja660k
February 21st, 2009, 02:30 PM
did you want something that looks like that? (attatchment)

and to edit your bashrc use sudo,
in terminal type

sudo gedit .bashrc &

try this
http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/

i hope it helps, basically search for your ps1 variable in bashrc and make your changes there...

penduleum
February 21st, 2009, 04:07 PM
yep.

thx for the link. thats exacly what i whant to do...

I ame going to read the link in a few hours, config a litle cisco network :D

i let you know when i ame done. thx for your answer :D