Re: X color picker?
Re: X color picker?
- Subject: Re: X color picker?
- From: Brandon S Allbery KF8NH <email@hidden>
- Date: Sun, 17 Apr 2011 16:45:51 -0400
- Openpgp: id=2B0BDB95
- Organization: Carnegie Mellon University, Electrical & Computer Engineering, Computing Facilities
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/17/11 11:42 , James K. Lowden wrote:
> How do I display the colors in /usr/X11/share/X11/rgb.txt?
The quick and dirty way:
cut -b14- /usr/X11/share/X11/rgb.txt |
while read color; do
xlogo -g 128x128 -bg "$color" &
echo -n "$color:"
read x < /dev/tty
kill %+
wait
done
which will give you a little "slideshow". Press Return to show the next
color, or ^C to stop.
Safari displays different colors because it pays attention to color
profiles, and the default web color profile is not the same as the system
default gamma. (Play around with System Preferences > Displays > Color >
Calibrate..., setting the "Expert Mode" checkbox. As log as you don't save
and activate it, this won't break anything, although you might conceivably
make enough of a mess that you can't see the controls to abort the color
profile. Press Command-W in that case. :)
- --
brandon s. allbery [linux,solaris,freebsd,perl] email@hidden
system administrator [openafs,heimdal,too many hats] kf8nh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2rUX8ACgkQIn7hlCsL25UluACgza2pGg+Ari9YBTTrAs90W53/
rI8AoM9modTBW2ynLVkgPRiygwazh+n3
=Ylb7
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden