On page 308 of Valerie Quercia and Tim O'Reilly's X Window Systerm User's Guide (1993), volume 3 of the excellent X Window books pubished by O'Reilly, one finds:
The rgb.txt file, usually located in /usr/lib/X11, is supplied with the standard distribution of X and consists of predefined color values (in decimal notation) assigned to specific text names.
I find it useful, when shopping for color names that I need to spell correctly. I can't find it on 10.2-RELEASE, however. (I didn't try looking in other releases.) I first did this:
and came up with:
None of those directories contained rgb.txt. So I gave up and did:
and came up empty.
One thing I've discovered while migrating to FreeBSD is that FreeBSD seldom does things without reason. There must be some reason rgb.txt is missing. Why is it missing?
The rgb.txt file, usually located in /usr/lib/X11, is supplied with the standard distribution of X and consists of predefined color values (in decimal notation) assigned to specific text names.
I find it useful, when shopping for color names that I need to spell correctly. I can't find it on 10.2-RELEASE, however. (I didn't try looking in other releases.) I first did this:
Code:
find / -name X11 | sort
Code:
/etc/X11
/usr/local/etc/X11
/usr/local/include/X11
/usr/local/lib/X11
/usr/local/share/X11
Code:
find / -name rgb.txt
One thing I've discovered while migrating to FreeBSD is that FreeBSD seldom does things without reason. There must be some reason rgb.txt is missing. Why is it missing?
Last edited by a moderator: