You are not logged in.

#1 2008-03-10 10:26:01

Oblong_Cheese
Member
Registered: 2007-01-25
Posts: 44

Terminal colours

I've configured my gnome terminal colours as per I like them according to an excellent guide in the Wiki; but now when I ALT+Fx out to a "real" terminal, I cannot read my input text.

Is there a way to specify what colours are being used depending upon the terminal?

Offline

#2 2008-03-10 10:55:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Terminal colours

I set my console colours with the following in .bashrc:

if [ "$TERM" = "linux" ]; then
echo -en "\e]P0000000"
echo -en "\e]P19e1828"
echo -en "\e]P2aece92"
echo -en "\e]P3968a38"
echo -en "\e]P4414171"
echo -en "\e]P5963c59"
echo -en "\e]P6418179"
echo -en "\e]P7bebebe"
echo -en "\e]P8666666"
echo -en "\e]P9cf6171"
echo -en "\e]PAc5f779"
echo -en "\e]PBfff796"
echo -en "\e]PC4186be"
echo -en "\e]PDcf9ebe"
echo -en "\e]PE71bebe"
echo -en "\e]PFffffff"
clear
fi

Hope that helps.

Offline

#3 2008-03-11 18:21:29

ss2
Member
Registered: 2007-10-05
Posts: 83

Re: Terminal colours

Cool, didn't know about that yet. Quite odd, that I have the same colours since a few months in my .Xdefaults. ;-)

Last edited by ss2 (2008-03-11 18:22:52)

Offline

#4 2008-03-11 19:50:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Offline

Board footer

Powered by FluxBB