XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Saturday, November 26, 2005

Tip: Show X11 Colors

Question: What colors do I have in XEmacs with the X11 Window system? . . .

Answer: Presuming you are running in an X11 Windows system? Several colors are available, as long as you aren't running 16 color mode or something.

List Colors: Alt-x, list-colors-display, enter.

= Your colors are listed in a resource file under the X11 directory. rgb.txt at /usr/X11R6/lib/X11.

= What if I want to state a color via the command line?
  xemacs -bg wheat sample.txt  

Cautions: (1) The above -bg color command doesn't work in console mode. (2) If you have a pixmap setup? You won't be able to override it, via the command line.

Platform: Linux
Level: Basic
GlR

0 Comments:

Post a Comment

<< Home