On 7/13/06, Guido Schwarzer <[EMAIL PROTECTED]> wrote:
We installed SRSS 3.1 on a computer with Ubuntu 6.06 (no upgrade from
5.10) and have problems with applications like xemacs, emacs, and gv.
Under Xfce, these applications break with an error message "Undefined
color: "black"".
Any ideas what could cause this problem?
A translation from a symbolic colour name like "black" to the
corresponding R,G,B values usually involves a lookup in some
file. For Motif apps that file is usually /usr/lib/X11/rgb.txt. I don't
know what file other widget sets use but I wouldn't be at all
surprised if they used the same one. You might check that it
exists on your system, that it's readable by everyone, and that
it contains a definition for "black".
If that looks OK then maybe these programs aren't looking at
this file, so you could try using 'strace' to see what colour-name
file they are looking for.
On some systems the text file gets used to build a DBM cache
file to speed up subsequent lookups, and that cache file could
have become corrupted. 'touch'ing the text file might cause
the cache to get rebuilt, or at least ignored.
OttoM.
__
ottomeister
Disclaimer: These are my opinions. I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users