font/color combos for xterm, rxvt, etc

font/color combos for xterm, rxvt, etc

Post by Eri Men » Tue, 20 Aug 2002 04:45:06



Im looking for good font size/color combinations used in xterm, rxvt and
other xterminals. Im tired looking at my -fg white -bg black settings. Any
tips from the regulars here how they set up their terminals is
appreciated. TIA.

Eri

--
--

 ###################################
 #  Linux user #224119 using slrn  #                      
 ###################################

 
 
 

font/color combos for xterm, rxvt, etc

Post by Peter Karlsso » Tue, 20 Aug 2002 05:44:33



> Im looking for good font size/color combinations used in xterm, rxvt and
> other xterminals. Im tired looking at my -fg white -bg black settings. Any
> tips from the regulars here how they set up their terminals is
> appreciated. TIA.

Umm... This is like personal preference. My preferred colors might not
do anything for you. :-) Just try 'em out.

Right now I'm using -fg yellow -bg black, but that's something that
will change...

Quote:> Eri

// Peter (A bit drunk..)
--
My email address is munged. Drop YOUR PANTS...
Registered GNU/Linux User # 279409 (http://counter.li.org)
"Gentoo Linux - Because I'm worth it!"

 
 
 

font/color combos for xterm, rxvt, etc

Post by Bit Twist » Tue, 20 Aug 2002 06:32:10



Quote:> Im looking for good font size/color combinations used in xterm, rxvt and
> other xterminals. Im tired looking at my -fg white -bg black settings. Any
> tips from the regulars here how they set up their terminals is
> appreciated. TIA.

You set the default color and font in ~/.Xresources
Here is a snippet
!  XTERM resources
!
XTerm*background:               Lightgray
XTerm*cursorColor:              Red
XTerm*font:                     10x20
XTerm*foreground:               Black
XTerm*pointerColor:             Black

To find the font you run      xlsfonts
to find a color you run       showrgb

To test you run xterm -fn "font_here"  -bg backgroud_here -fg foreground_here

What looks good on my monitor may look pitiful on yours.

xterm -bg seagreen -fg white

 
 
 

font/color combos for xterm, rxvt, etc

Post by Floyd Davidso » Tue, 20 Aug 2002 09:33:35



>Im looking for good font size/color combinations used in xterm, rxvt and
>other xterminals. Im tired looking at my -fg white -bg black settings. Any
>tips from the regulars here how they set up their terminals is
>appreciated. TIA.

>Eri

Actually this is an important subject if you spend much time
at a keyboard looking at a monitor.

I've set the root window of X to steelblue.  My xterms have a
black background and a goldenrod1 foreground to emulate an amber
monochrome monitor screen (for less eye strain over long periods
of time).  The cursor color is green, to make it easy to spot.

One effect of using a black background is a need to also change
all of the color settings for ls.  Exactly what they should be
though, depends greatly on what you do.  Some colors stand out
and are easy to read, others are not.  Some are almost hidden,
but can be seen if you make an effort.  Hence for a programmer
*.c files should standout, but a nonprogrammer might want them
to be safely tucked into anonymity.

Here are the color settings from my ~/.dir_colors file,

# 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.
FILE   00       # normal file
DIR    32       # directory
LINK   01;36;40 # symbolic link
FIFO      33;40 # pipe
SOCK   01;35    # socket
BLK    01;33;40 # block device driver
CHR    01:33;40 # character device driver

# This is for files with execute permission:
EXEC 35 # magenta

# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')

.cmd 35 # executables (magenta)
.exe 35
.com 35
.sh  35
.bat 35

.tar 01;31 # archives or compressed (bold red)
.tgz 01;31
.arj 01;31
.taz 01;31
.lzh 01;31
.zip 01;31
.z   01;31
.Z   01;31
.gz  01;31

.jpg 01;35 # image formats (bold magenta)
.JPG 01;35
.gif 01;35
.GIF 01;35
.bmp 01;35
.BMP 01;35
.xbm 01;35
.XBM 01;35
.xpm 01;35
.XPM 01;35
.ps  01;35
.PS  01;35
.dvi 01;35
.DVI 01;35
.lj  01;35
.LJ  01;35

.c   36         #source code files
.C   36
.h   36
.H   36
.tex 36
.TEX 36
.y   36
.Y   36
.s   36
.S   36

.a   31         #library files
.sa  36

--
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>

 
 
 

font/color combos for xterm, rxvt, etc

Post by Eri Mend » Tue, 20 Aug 2002 14:21:53





>>Im looking for good font size/color combinations used in xterm, rxvt
>>and other xterminals. Im tired looking at my -fg white -bg black
>>settings. Any tips from the regulars here how they set up their
>>terminals is appreciated. TIA.

>>Eri

> Actually this is an important subject if you spend much time
> at a keyboard looking at a monitor.

> I've set the root window of X to steelblue.  My xterms have a
> black background and a goldenrod1 foreground to emulate an amber
> monochrome monitor screen (for less eye strain over long periods
> of time).  The cursor color is green, to make it easy to spot.

> One effect of using a black background is a need to also change
> all of the color settings for ls.  Exactly what they should be
> though, depends greatly on what you do.  Some colors stand out
> and are easy to read, others are not.  Some are almost hidden,
> but can be seen if you make an effort.  Hence for a programmer
> *.c files should standout, but a nonprogrammer might want them
> to be safely tucked into anonymity.

> Here are the color settings from my ~/.dir_colors file,

[snip]

Thanks a lot Floyd/Bit Twister/Peter,

You hit my problem bulls-eye: its exactly ls problem why im looking for
good font/color combo. In a black bg/white fg setup im having hard time
viewing the text when i ls or l.. There is an alias for l. with the arg  
color=tty. I hunted the alias in my .bashrc, .bash_profile,etc. but cant
find the darn alias. Checked it in /etc/bashrc but not there, either. Will
have a look at your settings and the other guys as well. I thank you for
the replies.

Eri
--
Posting using Xnews
My yahoo email is spam-trap
Use Reply-To address to send me email

 
 
 

1. Changing fonts in rxvt, xterm, nxterm

I would like to use a larger font when running xterm et al, but I don't know what is
available to me!  When I try, for example, "nxterm -fn schumacher" I am told that font
"schumacher" cannot be found and fixed is being used instead.

How can I find out what fonts are available to me?  I am running RedHat Picasso, with the
Accelerated X server that comes with Caldera 1.0, and the Looking Glass desktop metaphor.
I would appreciate pointers to the appropriate howtos, or some quick tips.

TIA
Ray

2. Clearing Unix Sockets

3. why doesn't xterm show colors(rxvt does)

4. IPChains incompatible with Kernel 2.4.0-test12

5. Colour text with xterm and rxvt

6. Announcing Joerg's SQL data base

7. font size change in rxvt and xterm

8. 2.4.19-pre10 + Promise ATA100 tx2 ver 2.20

9. rxvt blasted term = xterm-color

10. Can a-term/xterm/rxvt use .ttf fonts?

11. xterm default colors and fonts

12. X fonts in xterm display as solid blocks of foreground color

13. font/color selection in xterm