xdpyinfo(1)
NAME
xdpyinfo - display information utility for X
SYNOPSIS
xdpyinfo [-display displayname]
DESCRIPTION
xdpyinfo is a utility which displays information about an X server. It is used 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.
EXAMPLE
The following shows a sample produced by xdpyinfo when connected to the X11/NeWS server running on a 1-plane screen and an 8-plane (color) screen.
name of display: :0.1
version number: 11.0
vendor string: X11/NeWS - Sun Microsystems Inc.
vendor release number: 3010
maximum request size: 65535 longwords (262140 bytes)
motion buffer size: 100
bitmap unit, bit order, padding: 32, MSBFirst, 32
image byte order: MSBFirst
number of supported pixmap formats: 2
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
keycode range: minimum 8, maximum 132
number of extensions: 7
SUN_DGA
SunWindowGrabber
XInputDeviceEvents
Multi-Buffering
SHAPE
SUN_ALLPLANES
MIT-SHM
default screen number: 1
number of screens: 2
screen #0:
dimensions: 1152x900 pixels (352x275 millimeters)
resolution: 83x83 dots per inch
depths (2): 1, 8
root window id: 0x8007c
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x80076
default number of colormap cells: 256
preallocated pixels: black 1, white 0
options: backing-store YES, save-unders YES
current input event mask: 0x150201d
KeyPressMask ButtonPressMask ButtonReleaseMask
EnterWindowMask ButtonMotionMask SubstructureRedirectMask
PropertyChangeMask OwnerGrabButtonMask
number of visuals: 4
default visual id: 0x80073
visual:
visual id: 0x80070
class: StaticGray
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x80071
class: GrayScale
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x80072
class: StaticColor
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x80073
class: PseudoColor
depth: 8 planes
size of colormap: 256 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
screen #1:
dimensions: 1600x1280 pixels (489x391 millimeters)
resolution: 83x83 dots per inch
depths (1): 1
root window id: 0x8007d
depth of root window: 1 plane
number of colormaps: minimum 1, maximum 1
default colormap: 0x80078
default number of colormap cells: 2
preallocated pixels: black 1, white 0
options: backing-store YES, save-unders YES
current input event mask: 0x150201d
KeyPressMask ButtonPressMask ButtonReleaseMask
EnterWindowMask ButtonMotionMask SubstructureRedirectMask
PropertyChangeMask OwnerGrabButtonMask
number of visuals: 1
default visual id: 0x80077
visual:
visual id: 0x80077
class: StaticGray
depth: 1 plane
size of colormap: 2 entries
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 1 bits
NOTES
The value provided for vendor release number is the OpenWindows release number multiplied by one thousand.
ENVIRONMENT
DISPLAY
To get the default host, display number, and screen.
SEE ALSO
xwininfo(1), xprop(1), xrdb(1), xnews(1)
COPYRIGHT
Copyright 1988, 1989, Massachusetts Institute of Technology.
See X11(7) for a full statement of rights and permissions.
AUTHOR
Jim Fulton, MIT X Consortium
SunOS 5.1 — Last change: 11 March 1992