I wished to customize my terminal colors and I had little success.
I used the terminalrc lines find on this website:
http://blogs.n1zyy.com/andrew/2009/02/0 … -terminal/
There is a screenshot of what I expect although the
login@host line and the ~$ lines stay white while they should have different colors. The cursors and the bacground change color as it should.
I made a little research. Tons of website says to check
It results 8, it should be 256 if I'm right.
They say to export $TERM=xterm-256color. It makes no difference, although tput color outputs 256. I even wrote it at the end of .bashrc. Same as before.
I tried to change Preferences->Compatibility(last but once tab)->Emulation settings to xterm-256color. It results in an error:
*** VTE ***: Failed to load terminal capabilities from '/etc/termcap'
This is not a surprise as there is no such directory and as far as I know, Debian uses terminfo.
After a little trial and error I got the impression that terminalrc reacts to the following lines:
and ColorPalette<number> lines are ignored. I mean they appear in the pallette of the settings but does not change any color.
Now the question is what should I do?
Oh and my system is: Debian 7 testing (which is Jessy), xfce4-terminal is 0.6.2-3.
Thanks in advance!
login@host line and the ~$ lines stay white while they should have different colors.
You need to change your PS1 prompt. What is it currently?
Try a PS1 prompt like this:
PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] '
echo $PS1 gives this:
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] '
When I changed it to what you said it suddenly worked like charm!
Thank you very much!
I really have no idea what this PS1 is but I will search for it when I have a little more time (actually I already found a topic about this exact question on linuxquestions.org, so it is more accurate to say I will read the answer when I have a little more time ).