xorg.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 30 Jun 2009 20:54:20 +0300
changeset 146 4adbba498fef
parent 141 2ed1540d3034
child 147 72c4460f5b13
permissions -rw-r--r--
Update "How set standby time?"

-*- mode: outline -*-

* Where find info?

  $ man 5 xorg.cong

* 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

* 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