Hi All,
Jim Clark wrote:
> On Thu, 23 Mar 2000, Rajnish Tiwari wrote:
> > Is there a way to determine what colour depth X-Windows
> > is running at??
> xwininfo - and select the root window (or anywhere really) with the crosshairs
>
> the output will include 'Depth: xx' where xx is the number of bits-per-pixel.
Another command which I just learnt myself recently is:
xdpyinfo
This gives Lots of info including what you want.
screen #0:
dimensions: 1024x768 pixels (347x260 millimeters)
resolution: 75x75 dots per inch
depths (1): 24
root window id: 0x26
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x23
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
etc....
Mike
--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text