Re: color problem




Dieter Kraft wrote:
J.O. Aho wrote:
Dieter Kraft wrote:
Hi,

starting
dkraft@newton/home/dkraft> xterm
I get
Warning: Color name "black" is not defined

dkraft@newton/home/dkraft> ll /usr/share/X11/rgb.txt
is present

How can I activate the colors?

Maybe someone has managed to delete the black entry in the rgb.txt, then
add it manually, you can check this easily with: grep black
/usr/share/X11/rgb.txt

Another possibility is that your X is configured to look for the file in
another place, see to that you have
RgbPath "/usr/share/X11/rgb"


//Aho
solution:
in Fedora Core 5
the location of the database has changed
from
# RgbPath "/usr/X11R6/lib/X11/rgb"
to
RgbPath "/usr/share/X11/rgb"
in /etc/X11/xorg.conf
thanks again
Dieter


FWIW - this is where it's located on a Debian 3.1r1 install using a
2.4.27 kernel;
$ locate rgb.txt
/etc/X11/rgb.txt
/usr/X11R6/lib/X11/rgb.txt

Note;
/usr/X11R6/lib/X11/rgb.txt is a symbolic link to /etc/X11/rgb.txt

View the contents using either;
$ less /usr/X11R6/lib/X11/rgb.txt
or
$ less /etc/X11/rgb.txt

I believe I'm using XFree86 (/etc/X11/XF86Config-4) instead of the
newer X.org stuff

hth...

.



Relevant Pages

  • Re: color problem
    ... Dieter Kraft wrote: ... dkraft@newton/home/dkraft> xterm ... Warning: Color name "black" is not defined ... Maybe someone has managed to delete the black entry in the rgb.txt, ...
    (comp.os.linux.x)
  • Re: color problem
    ... J.O. Aho wrote: ... dkraft@newton/home/dkraft> xterm ... Warning: Color name "black" is not defined ... Munich University of Applied Sciences ...
    (comp.os.linux.x)
  • Re: emacs & xfontsel: "Unable to load any usable ISO8859 font"
    ... AF> application (i.e. not in the console or xterm) I see only boxes. ... AF> Warning: Unable to load any usable ISO8859 font ...
    (Ubuntu)
  • emacs & xfontsel: "Unable to load any usable ISO8859 font"
    ... application (i.e. not in the console or xterm) I see only boxes. ... Warning: Unable to load any usable ISO8859 font ...
    (Ubuntu)
  • Re: sylpheed-claws warnings
    ... there are many errors like the following printed on the xterm ... >> WARNING! ... > If you use some util like portupgrade to manage the installs w/ ... And the same for encrypt. ...
    (comp.unix.bsd.freebsd.misc)