Probe display properties.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Sep 2016 17:16:40 +0300
changeset 2034 95989e2e6203
parent 2033 038fa1d1ff24
child 2035 3879da07817e
Probe display properties.
display.rst
hardware.rst
--- a/display.rst	Sat Sep 24 11:48:36 2016 +0300
+++ b/display.rst	Sun Sep 25 17:16:40 2016 +0300
@@ -6,8 +6,21 @@
 .. contents::
    :local:
 
-Native display resolutions.
-===========================
+Probe display properties
+========================
+
+Currently attached displays and supported display resolutions::
+
+  $ xdpyinfo
+  $ xrandr
+
+Display DPI::
+
+  $ xdpyinfo | grep dots
+
+Native display resolutions
+==========================
+::
 
   ===== ======  ======  =========
   19"    4:3    SXGA    1280х1024
@@ -19,9 +32,7 @@
   30"   16:10   WQXGA   2560x1600
   ===== ======  ======  =========
 
-TODO
-
-Display resolutions:
+Display resolutions::
 
   =====  ==========   ==============
   Name   Megapixels   Width x Height
@@ -36,8 +47,8 @@
   WUXGA   2.3         1920×1200
   =====  ==========   ==============
 
-Selecting display.
-==================
+Selecting display
+=================
 
   http://www.100fps.com/how_many_frames_can_humans_see.htm
     How many frames per second can the human eye see?
@@ -48,24 +59,22 @@
   http://www.lagom.nl/lcd-test/inversion.php
     LCD inversion test.
 
-ICC Profiles.
-=============
+ICC Profiles
+============
 
  * https://wiki.archlinux.org/index.php/ICC_Profiles
 
 PC display modes.
 =================
 
-VESA standards (SUPER VGA).
----------------------------
+VESA standards (SUPER VGA)::
 
   640x480 text & graphics (256-16M colors)
   800x600 text & graphics (16-16M colors)
   1024x768 text & graphics (16-16M colors)
   1280x1024 text & graphics (16-16M colors)
 
-IBM standards.
---------------
+IBM standards::
 
   MDA   720x350 text only, monochrome
   CGA   320x200 text & graphics (4 colors)
@@ -75,13 +84,11 @@
   8514 1024x768 text & graphics (256 colors)
   XGA  1024x768 text & graphics (256 colors)
 
-Hercules standard.
-------------------
+Hercules standard::
 
   720x348 text & graphics (monochrome)
 
-VESA modes.
------------
+VESA modes::
 
   VESA BIOS Extension (VBE)
   Super VGA modes defined by VESA
@@ -129,8 +136,8 @@
       81FF  Special mode to save
             and restore video RAM.
 
-
-Note: As of VBE 2.0, VESA no longer defines new modes by number. It provides a mechanism for defining the mode by resolution.
+.. note:: As of VBE 2.0, VESA no longer defines new modes by number. It provides
+          a mechanism for defining the mode by resolution.
 
   Number    Pixel bits
   colors    R  G  B
@@ -138,9 +145,7 @@
   64K       5  6  5
   16M       8  8  8
 
-
-Earlier IBM modes.
-------------------
+Earlier IBM modes::
 
   Mode
   No. CGA
@@ -184,4 +189,3 @@
   640x480   graphics   64K colors
   1024x768  graphics   256 colors
 
-
--- a/hardware.rst	Sat Sep 24 11:48:36 2016 +0300
+++ b/hardware.rst	Sun Sep 25 17:16:40 2016 +0300
@@ -148,7 +148,8 @@
   ``xrandr``
                 Supported display resolutions.
   ``xdpyinfo``
-    Utility for displaying information about an X server.
+    Utility for displaying information about an X server, monitor DPI,
+    resolutions, etc.
   ``xvinfo``
     Print out X-Video extension adaptor information.
   ``xdriinfo``