.TH xdpyinfo "" "" "X Utility"
.PC "Display information about an X server"
\fBxdpyinfo [\-display \fIdisplayname\^\fB]\fR
.PP
.B xdpyinfo
displays information about the X server.
You can use it to examine the capabilities of a server,
the predefined values for various parameters used
in communicating between clients and the server, and the different types of
screens and visuals that are available.
.\".PP
.\"The following shows a sample produced by
.\".B xdpyinfo
.\"when connected to display that supports an eight-plane screen
.\"and a one-plane screen:
.\".DM
.\"name of display:    :0.0
.\"version number:    11.0
.\"vendor string:    MIT X Consortium
.\"vendor release number:    4
.\"maximum request size:  16384 longwords (65536 bytes)
.\"motion buffer size:  0
.\"bitmap unit, bit order, padding:    32, MSBFirst, 32
.\"image byte order:    MSBFirst
.\"number of supported pixmap formats:    2
.\".DE
.\".DM
.\"	supported pixmap formats:
.\"		depth 1, bits_per_pixel 1, scanline_pad 32
.\"		depth 8, bits_per_pixel 8, scanline_pad 32
.\".DE
.\".DM
.\"	keycode range:    minimum 8, maximum 129
.\"	focus:  PointerRoot
.\"	number of extensions:    4
.\"		SHAPE
.\"		MIT-SHM
.\"		Multi-Buffering
.\"		MIT-SUNDRY-NONSTANDARD
.\"	default screen number:    0
.\"	number of screens:    2
.\".DE
.\".DM
.\"	screen #0:
.\"		Dimensions:    1152x900 pixels (325x254 millimeters)
.\"		resolution:    90x90 dots per inch
.\"		depths (2):    1, 8
.\"		root window id:    0x8006e
.\"		depth of root window:    8 planes
.\"		number of colormaps:    minimum 1, maximum 1
.\"		default colormap:    0x8006b
.\"		default number of colormap cells:    256
.\"		preallocated pixels:    black 1, white 0
.\"		options:    backing-store YES, save-unders YES
.\"		current input event mask:    0xd0801d
.\"			KeyPressMask             ButtonPressMask          ButtonReleaseMask        
.\"			EnterWindowMask          ExposureMask             SubstructureRedirectMask 
.\"			PropertyChangeMask       ColormapChangeMask       
.\"		number of visuals:    6
.\".DE
.\".DM
.\"	default visual id:  0x80065
.\"	visual:
.\"		visual id:    0x80065
.\"		class:    PseudoColor
.\"		depth:    8 planes
.\"		size of colormap:    256 entries
.\"		red, green, blue masks:    0x0, 0x0, 0x0
.\"		significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x80066
.\"		class:    DirectColor
.\"		depth:    8 planes
.\"		size of colormap:    8 entries
.\"		red, green, blue masks:    0x7, 0x38, 0xc0
.\"		significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x80067
.\"		class:    GrayScale
.\"		depth:    8 planes
.\"		size of colormap:    256 entries
.\"		red, green, blue masks:    0x0, 0x0, 0x0
.\"		significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x80068
.\"		class:    StaticGray
.\"		depth:    8 planes
.\"		size of colormap:    256 entries
.\"		red, green, blue masks:    0x0, 0x0, 0x0
.\"		significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x80069
.\"		class:    StaticColor
.\"		depth:    8 planes
.\"		size of colormap:    256 entries
.\"		red, green, blue masks:    0x7, 0x38, 0xc0
.\"	significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x8006a
.\"		class:    TrueColor
.\"		depth:    8 planes
.\"		size of colormap:    8 entries
.\"		red, green, blue masks:    0x7, 0x38, 0xc0
.\"		significant bits in color specification:    8 bits
.\".DE
.\".DM
.\"	number of mono multibuffer types:    6
.\"		visual id, max buffers, depth:    0x80065, 0, 8
.\"		visual id, max buffers, depth:    0x80066, 0, 8
.\"		visual id, max buffers, depth:    0x80067, 0, 8
.\"		visual id, max buffers, depth:    0x80068, 0, 8
.\"		visual id, max buffers, depth:    0x80069, 0, 8
.\"		visual id, max buffers, depth:    0x8006a, 0, 8
.\"	number of stereo multibuffer types:    0
.\".DE
.\".DM
.\"screen #1:
.\"	dimensions:    1152x900 pixels (325x254 millimeters)
.\"	resolution:    90x90 dots per inch
.\"	depths (1):    1
.\"	root window id:    0x80070
.\"	depth of root window:    1 plane
.\"	number of colormaps:    minimum 1, maximum 1
.\"	default colormap:    0x8006c
.\"	default number of colormap cells:    2
.\"	preallocated pixels:    black 1, white 0
.\"	options:    backing-store YES, save-unders YES
.\"	current input event mask:    0xd0801d
.\"		KeyPressMask             ButtonPressMask          ButtonReleaseMask        
.\"		EnterWindowMask          ExposureMask             SubstructureRedirectMask 
.\"		PropertyChangeMask       ColormapChangeMask       
.\"	number of visuals:    1
.\"	default visual id:  0x80064
.\".DE
.\".DM
.\"	visual:
.\"		visual id:    0x80064
.\"		class:    StaticGray
.\"		depth:    1 plane
.\"		size of colormap:    2 entries
.\"		red, green, blue masks:    0x0, 0x0, 0x0
.\"		significant bits in color specification:    1 bits
.\".DE
.\".DM
.\"	number of mono multibuffer types:    1
.\"		visual id, max buffers, depth:    0x80064, 0, 1
.\"	number of stereo multibuffer types:    0
.\".DE
.SH Environment
.B xdpyinfo
reads the environmental variable
.B DISPLAY
to find the default host, display number, and screen.
.SH "See Also"
.B 
xprop,
xrdb,
X utilities,
xwininfo
.R
.SH Notes
Copyright \(co 1988, 1989, Massachusetts Institute of Technology.
.PP
.II "Fulton, Jim"
.B xdpyinfo
was written by Jim Fulton of the MIT X Consortium.
