RGB "dialing" facility?
Mon Dec 2 08:58:01 2002
> -----Original Message-----
> From: Shing-Fat Fred Ma [mailto:email@example.com]
> Is there an X-tool in solaris that allows
> me to dial up different RGB values and
> see what text looks like on a background
> of another RGB value?
See `Xvnc -help` and use the option to define the "rgb.txt" file. Or just
edit the origional. You (might?) need to restart Xvnc to see the
> The situtation is that I'm using TightVNC
> to connect to a solaris8 box
> (www.tightvnc.com). I use the default
> 8-bit true color mode because I have
The newest Xvnc servers default to 16 bits!.
> difficulty with the flashiness of pseudocolor.
> I do not use more color planes because
> of bandwidth considerations, and due to
> stability (I haven't been able to successfully
> compile newer versions of TightVNC). But
> 8 bits is very coarse, so I have to tweak all
> my colors (I spend alot of time staring
> at gvim's syntax colorization).
I recal there is an app that shows the actual color definition, I don't know
if it can alter something on this site. What does `xset` on this behalf?
> It would be very convenient if I could
> just dial in RGB values for background
> and text using sliders, then hard code it
> when I found a good one. Not only would
> it be useful for gvim, but also for twm.
> If I had two desktops, one as a window
> within another, I want my twm colors to
> be different for the two desktops. Other-
> wise, it's easy to lose track of which desk
> top an xterm or matlab window resides in.
> You can really mess up your work that way.
In my prevoius job, we had (on solaris 2.5.1) an alternate X library for the
pseudo colors: it allocated a (configurable?) rainbow in the colormap and
all apps just got a color from the rainbow, close to the requested color. I
don't recal any details on this but it worked nice: All apps that just use
colors got a library path that uses this library. Apps that abuse the pseudo
colormap got an alternate library path without this library.
> Using sliders is especially handy when
> color quantization is coarse because
> you can muck around with command-
> line color settings forever. The colors
> don't respond well with very few bits
> each. With a slider, you can tell
> right away.