view current DPMS settings
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 31 May 2012 15:19:46 +0300
changeset 1281 c8ba8ba3c0c9
parent 1280 539d60ac4453
child 1282 ee37f47fd026
view current DPMS settings
xorg.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xorg.rst	Thu May 31 15:19:46 2012 +0300
@@ -0,0 +1,98 @@
+
+=======
+ Xorg.
+=======
+
+Where find info?
+================
+::
+
+  $ man 5 xorg.cong
+
+Enable Ctrl+Alt+Backspace.
+==========================
+::
+
+  $ cat /etc/X11/xorg.conf
+  ...
+  Section "ServerFlags"
+        Option      "DontZap" "false"
+  EndSection
+
+How set standby time?
+=====================
+
+Put something like this in xorg.cong::
+
+  Section "ServerFlags"
+      # Disallows the use of the Ctrl+Alt+Keypad-Plus and Ctrl+Alt+Keypad-Minus.
+      Option "DontZoom"       "true"
+      # Blank phase of the screensaver.
+      #Option "BlankTime"      "0"
+      # Standby phase of DPMS mode.
+      Option "StandbyTime"     "10"
+      #
+      #Option "SuspendTime"    "0"
+      #
+      #Option "OffTime"        "0"
+  EndSection
+
+Time measure in minute.
+
+To enable this configuration you must set "DPMS" option in "Monitor" section::
+
+  Section "Monitor"
+  ...
+      Option "DPMS"
+  ...
+  EndSection
+
+To view current DPMS settings::
+
+  $ xset q
+
+To disable DPMS for current session use command::
+
+  $ xset -dpms
+
+To turn off monitor use::
+
+  $ xset dpms force off
+
+Set display dimensions.
+=======================
+
+To see currect settings type::
+
+  $ xdpyinfo | grep   dimensions:
+  dimensions:    1280x1024 pixels (382x302 millimeters)
+
+From this dimensions calculated your display dpi resolution::
+
+  $ xdpyinfo | grep resolution:
+  resolution:    85x86 dots per inch
+
+To set dimensions edit '/etc/X11/xorg.conf' (size in mm)::
+
+  $ cat /etc/X11/xorg.conf
+  ...
+  Section "Monitor"
+  ...
+    DisplaySize     width height
+  ...
+  EndSection
+
+Overriding EDID Settings for NVidia cards.
+------------------------------------------
+
+If you're using NVIDIA display drivers version 8756 or above and your monitor
+reports an EDID DPI value, you must tell the drivers to ignore this value as
+it takes precedence over all the above configuration options/arguments::
+
+  Section "Monitor"
+  ...
+    DisplaySize     width height
+    Option         "UseEdidDpi"  "false"
+  ...
+  EndSection
+