FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-28-2007, 03:00 PM
"Daniel B. Thurman"
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

I am fiddling with /etc/X11/app-defaults/XTerm-color, thinking that this is where
/etc/DIR_COLORS, 34/44=blue are being defined assuming an xterm window?

My problem is that blue (0,0,255) is a bright dazzling blue color and
I need to tone it down a bit to something like "Navy" in X terminology.

How can this be done or is it hardwired?

Thanks!


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.11/1200 - Release Date: 12/27/2007 1:34 PM


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 04:12 PM
Tim
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

On Fri, 2007-12-28 at 08:00 -0800, Daniel B. Thurman wrote:
> I am fiddling with /etc/X11/app-defaults/XTerm-color, thinking that
> this is where /etc/DIR_COLORS, 34/44=blue are being defined assuming
> an xterm window?
>
> My problem is that blue (0,0,255) is a bright dazzling blue color and
> I need to tone it down a bit to something like "Navy" in X
> terminology.
>
> How can this be done or is it hardwired?

Depending on your terminal, you can play with the escape codes so that
it's not blue colour PLUS bright up, or simply change the palette (gnome
terminal has preferences for its "profile" that let you change how the
colour blue, for instance, will be drawn.

--
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 05:45 PM
Beartooth
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

On Sat, 29 Dec 2007 03:42:00 +1030, Tim wrote:

> On Fri, 2007-12-28 at 08:00 -0800, Daniel B. Thurman wrote:
[...]
>> My problem is that blue (0,0,255) is a bright dazzling blue color and I
>> need to tone it down a bit to something like "Navy" in X terminology.
>>
>> How can this be done or is it hardwired?
>
> Depending on your terminal, you can play with the escape codes so that
> it's not blue colour PLUS bright up, or simply change the palette (gnome
> terminal has preferences for its "profile" that let you change how the
> colour blue, for instance, will be drawn.

I second that.

Since before Fedora, I've been running gnome-terminal with
several tabs, background colors chosen both to be easy on my arthritic
eyeballs, and to contrast with one another : user on own machine is soft
green, root is a soft blue with deep blood-red letters (deep enough not
to blast the eyes, but discernibly red), user running elsewhere over ssh
or scp is a soft pink, root/ssh lavender, etc., etc.

All this is as easy to do as it is convenient -- and helps keep
me from doing the wrong thing in the wrong place under the wrong
permissions.

All praise to the gnome-terminal developers!
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Fedora 8; Alpine 0.99999, Pan 0.132; Privoxy 3.0.6;
Dillo 0.8.6, Galeon 2.0.3, Epiphany 2.20, Opera 9.24, Firefox 2.0
Remember I know precious little of what I am talking about.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 06:16 PM
Duane Clark
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

Daniel B. Thurman wrote:

I am fiddling with /etc/X11/app-defaults/XTerm-color, thinking that this is where
/etc/DIR_COLORS, 34/44=blue are being defined assuming an xterm window?

My problem is that blue (0,0,255) is a bright dazzling blue color and
I need to tone it down a bit to something like "Navy" in X terminology.

How can this be done or is it hardwired?


Normally you should not bother modifying the files in app-defaults.
Instead, create the file ~/.Xresources and put your customizations there.


For xterms, I have these defaults in my ~/.Xresources file (a line
starting with '!' is commented out).



XTerm*foreground: Black
XTerm*background: Gray90
! XTerm*cursorColor: <color>
! XTerm*pointerColor: <color>
XTerm*Font:
-adobe-courier-medium-r-normal-*-*-140-*-*-m-*-i

so8859-1
XTerm*vt100*geometry: 80x35
XTerm*scrollBar: True
XTerm*Scrollbar*width: 17
XTerm*Scrollbar*background: LightSteelBlue
XTerm*saveLines: 800
XTerm*pointerColor: Red
XTerm*highlightSelection: true

There used to be a program to show standard colors and color names, but
I don't see anything on my system that looks familiar. You should be
able to specify colors like

XTerm*background: #RRGGBB

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 06:20 PM
Duane Clark
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

Duane Clark wrote:


Normally you should not bother modifying the files in app-defaults.
Instead, create the file ~/.Xresources and put your customizations there.


For xterms, I have these defaults in my ~/.Xresources file (a line
starting with '!' is commented out).


Oh, I should mention. After making a change in that file, type the
command 'xrdb ~/.Xresources', and then open another xterm window, and it
should be using the new resources.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 06:22 PM
Duane Clark
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

Duane Clark wrote:


Oh, I should mention. After making a change in that file, type the
command 'xrdb ~/.Xresources', and then open another xterm window, and it
should be using the new resources.




Argg... sorry, that should be 'xrdb -merge ~/.Xresources'.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-28-2007, 08:19 PM
Cameron Simpson
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

On 28Dec2007 11:22, Duane Clark <fpga@pacbell.net> wrote:
> Duane Clark wrote:
>> Oh, I should mention. After making a change in that file, type the command
>> 'xrdb ~/.Xresources', and then open another xterm window, and it should be
>> using the new resources.
>
> Argg... sorry, that should be 'xrdb -merge ~/.Xresources'.

And for testing purposes you can go:

xterm -xrm 'property: value' ...

without hacking the resources file at all; when you have what you want
you put it in the file for persistence.

And lot of these new fangled apps like gnome-terminal don't support the -xrm
option, but _all_ the older apps do because it's part of the standard X11 app
option parsing library.

Cheers,
--
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

When a man rides a Motorader he stays forever young. - German saying

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-29-2007, 01:58 PM
Aaron Konstam
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

On Fri, 2007-12-28 at 08:00 -0800, Daniel B. Thurman wrote:
>
> I am fiddling with /etc/X11/app-defaults/XTerm-color, thinking that
> this is where
> /etc/DIR_COLORS, 34/44=blue are being defined assuming an xterm
> window?
>
> My problem is that blue (0,0,255) is a bright dazzling blue color and
> I need to tone it down a bit to something like "Navy" in X
> terminology.
>
> How can this be done or is it hardwired?
>
> Thanks!
what is the matter with du -s * from /
--
================================================== =====================
In the next world, you're on your own.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-29-2007, 05:51 PM
"Paul Johnson"
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

On Dec 28, 2007 10:00 AM, Daniel B. Thurman <dant@cdkkt.com> wrote:
>
> I am fiddling with /etc/X11/app-defaults/XTerm-color, thinking that this is where
> /etc/DIR_COLORS, 34/44=blue are being defined assuming an xterm window?
>
> My problem is that blue (0,0,255) is a bright dazzling blue color and
> I need to tone it down a bit to something like "Navy" in X terminology.
>
> How can this be done or is it hardwired?
>
> Thanks!
>

Maybe I'm telling you what you already know, but since nobody
mentioned this old unix trick, maybe it will help. I would not fiddle
around in X resoures the way you are when there are easier, more
general alternatives.

In my .bashrc, I have this to customize the colors of the particular
things in the terminal. I like bright yello directories, white text,
because all of my backgrounds are dark. These settings are used in
xterm, Eterm, MLterm, gnome-terminal, etc. di is directory, and 33 is
yellow.

# User specific aliases and functions

LS_COLORS='no=00:fi=00:di=01;33:ln=01;36i=40;33: so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31 ;01:su=37;41:sg=30;43:tw=30;42w=34;42:st=37;44:e x=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz= 01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31: *.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.j ar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bm p=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga= 01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=0 1;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01 ;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35: *.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:* .mpc=01;35:*.ogg=01;35:*.wav=01;35:';
export LS_COLORS

The colors are specified by numbers here, you can experiment to find
ones you like.

You find this color like on your current system by running "dircolors"

Then all you need to do is change the numbers and put it into your
bashrc. Can go to a system profile if you want, but safer in user
only in .bashrc or such.


If you run dircolors --print-database, among the output one finds this.

# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00 # global default, although everything should be something.

Maybe one of the readers here will help us if we ask the next logical
question. Suppose We don't like the particular blue used by color 34.
Can we change from dark blue to Royal Blue, for example.


--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-29-2007, 06:11 PM
"Kevin J. Cummings"
 
Default DIR_COLORS, How to change blue to a darker blue, such as "Navy"?

Paul Johnson wrote:
> Maybe one of the readers here will help us if we ask the next logical
> question. Suppose We don't like the particular blue used by color 34.
> Can we change from dark blue to Royal Blue, for example.

I could be wrong, but this is exactly the question the OP posed....
Only he wanted to change bright blue to navy.

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org