How to change text color in terminal window

Bob Goodwin bobgoodwin at att.net
Sun Sep 26 20:10:13 CEST 2004


Andrew Conkling wrote:

>Some time ago (probably on Sat, 25 Sep 2004 13:27:11 -0400)
>Bob Goodwin <bobgoodwin at att.net> had occasion to say the following:
>
>  
>
>>How can I eliminate color in "ls" listings?
>>
>>In .bashrc  can add    alias ls='ls --color=never'
>>
>>But this does not change the listing in the gui terminal window.
>>    
>>
>
>Bob,
>This has nothing to do with Xfce directly; it'd be better to direct your
>question to a Fedora list/forum.  The problem is probably in some global
>alias settings (something like /etc/env*, at least in Gentoo.)
>
>
>  
>
>>There must be a place to "alias" ls  for something like    ls -l --si 
>>--color=never  ?
>>
>>Changing the settings in /etc/DIR_COLOR has no effect on the terminal
>>window in xfce.
>>
>>Or where can I change the colors? Directories display in blue and are 
>>very hard
>>to read on a black background which I need to display yellow text in
>>the man pages.
>>Presently I have the bg set to gray as a compromise but I still have 
>>trouble reading
>>the blue directory listings.
>>
>>I am running xfce4 in Fedora Core 2 Linux.
>>
>>Thanks you.
>>
>>Bob Goodwin    Zuni, Virginia
>>    
>>
David L Norris wrote [fedora-list at redhat.com]:

> On Sat, 2004-09-25 at 07:29 -0400, Bob Goodwin wrote:
>  
>
>> How can I change the colors?  The problem is that the Blue directory 
>> listings are very difficult to read and as a result I have been 
>> changing the xterm fg and bg settings
>>   
>
>
> xterm color (defaults to light background, dark foreground):
>  /etc/DIR_COLORS.xterm
>
> console color (defaults to dark background, light foreground):
>  /etc/DIR_COLORS
>
>
> In gnome-terminal I use green text on a black background.  So I simply
> copy /etc/DIR_COLORS to ~/.dir_colors and then edit from there.
>
> You can also copy DIR_COLORS to ~/.dir_colors.xterm or any other valid
> value of $TERM.  (e.g. FC3 I think uses a "gnome" terminal type for
> gnome-terminal.)
>
>  
>
Thanks Dave, that's exactly what I needed to know, I simply
changed /etc/DIR_COLORS.xterm to highlight the blue directory
listings with yellow and I can read them at long last.

I did not know that  /etc/DIR_COLORS.xterm existed!

Thanks.

Bob Goodwin   Zuni, Virginia




More information about the Xfce mailing list