Solution: They are compiled in.
When I apply a color using a color alias from the deprecated 'rgb.txt' list, it works! Perhaps two years ago, when Arch stopped including the file '/usr/share/X11/rgb.txt', the names stopped working. Now I find the names do work, but there is no 'rgb.txt' file under '/usr/share/X11'.
For example, these commands work:
$ xterm -bg SteelBlue & $ xclock -bg "light sea green"
Why do they now work? What file is supplying the color aliases? My '/usr/lib/X11/Xcms.txt' is still the default:
XCMS_COLORDB_START 0.1 cms red CIEXYZ:0.3811/0.2073/0.0213 cms green CIEXYZ:0.3203/0.6805/0.1430 cms blue CIEXYZ:0.2483/0.1122/1.2417 XCMS_COLORDB_END
I can find no 'rgb.txt' except for '/usr/share/emacs/24.2/etc/rgb.txt' and '/usr/share/vim/vim73/rgb.txt'. They can be removed and the old color names still work. Color me puzzled.
Last edited by thisoldman (2013-01-27 22:36:53)
They are compiled into X itself. Run `strings /usr/bin/X` and grep for colors - there all in there.
$ strings /usr/bin/X | grep Steel LightSteelBlue LightSteelBlue1 LightSteelBlue2 LightSteelBlue3 LightSteelBlue4 SteelBlue SteelBlue1 SteelBlue2 SteelBlue3 SteelBlue4
Last edited by Trilby (2013-01-27 22:24:18)
Edit—The compiled in color names:
$ strings /usr/bin/Xorg | grep -A 749 alice
Last edited by thisoldman (2013-01-28 04:08:21)