xdpyinfoコマンドを使うと、ディスプレイ情報を表示することが出来る。
shige@shigemk2 ~% xdpyinfo name of display: /tmp/launch-scnM8S/org.macosforge.xquartz:0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11300000 X.Org version: 1.13.0 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 (以下省略)
出典については…気にするな!