Change xterm font and colors on the fly

Snippet

Sometimes you want a new xterm window with smaller fonts.

Current .Xdefaults

xterm*Background:               black
xterm*Foreground:               LightGreen
xterm*cursorColor:              LightBlue
#xterm*pointerShape:             arrow
#xterm*pointerColor:             blue
xterm*pointerColor:             white
xterm*font:                     *-fixed-*-*-*-18-*

You can, however, include the values on the command line, too. This one is a legible size, if tiny:

xterm -fa monaco -fs 9 -bg black -fg LightGreen &

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.