How to eliminate "ls" color in xterm -

Bob Goodwin bobgoodwin at att.net
Sun Sep 26 17:50:49 UTC 2004


David L Norris wrote:

>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 users mailing list