xorg.rst
changeset 1280 539d60ac4453
parent 1279 b4a68afc6357
child 1281 c8ba8ba3c0c9
equal deleted inserted replaced
1279:b4a68afc6357 1280:539d60ac4453
     1 -*- mode: outline -*-
       
     2 
       
     3 * Where find info?
       
     4 
       
     5   $ man 5 xorg.cong
       
     6 
       
     7 * Enable Ctrl+Alt+Backspace.
       
     8 
       
     9   $ cat /etc/X11/xorg.conf
       
    10 ...
       
    11 Section "ServerFlags"
       
    12         Option      "DontZap" "false"
       
    13 EndSection
       
    14 
       
    15 * How set standby time?
       
    16 
       
    17 Put something like this in xorg.cong:
       
    18 
       
    19   Section "ServerFlags"
       
    20       # Disallows the use of the Ctrl+Alt+Keypad-Plus and Ctrl+Alt+Keypad-Minus.
       
    21       Option "DontZoom"       "true"
       
    22       # Blank phase of the screensaver.
       
    23       #Option "BlankTime"      "0"
       
    24       # Standby phase of DPMS mode.
       
    25       Option "StandbyTime"     "10"
       
    26       #
       
    27       #Option "SuspendTime"    "0"
       
    28       #
       
    29       #Option "OffTime"        "0"
       
    30   EndSection
       
    31 
       
    32 Time measure in minute.
       
    33 
       
    34 To enable this configuration you must set "DPMS" option in "Monitor" section:
       
    35 
       
    36   Section "Monitor"
       
    37 ...
       
    38       Option "DPMS"
       
    39 ...
       
    40   EndSection
       
    41 
       
    42 To disable standby for current session use command:
       
    43 
       
    44   $ xset -dpms
       
    45 
       
    46 To turn off monitor use:
       
    47 
       
    48   $ xset dpms force off
       
    49 
       
    50 * Set display dimensions.
       
    51 
       
    52 To see currect settings type:
       
    53 
       
    54   $ xdpyinfo | grep   dimensions:
       
    55 dimensions:    1280x1024 pixels (382x302 millimeters)
       
    56 
       
    57 From this dimensions calculated your display dpi resolution:
       
    58 
       
    59   $ xdpyinfo | grep resolution:
       
    60 resolution:    85x86 dots per inch
       
    61 
       
    62 To set dimensions edit '/etc/X11/xorg.conf' (size in mm):
       
    63 
       
    64   $ cat /etc/X11/xorg.conf
       
    65 ...
       
    66 Section "Monitor"
       
    67 ...
       
    68   DisplaySize     width height
       
    69 ...
       
    70 EndSection
       
    71 
       
    72 **  Overriding EDID Settings for NVidia cards.
       
    73 
       
    74 If you're using NVIDIA display drivers version 8756 or above and your monitor
       
    75 reports an EDID DPI value, you must tell the drivers to ignore this value as
       
    76 it takes precedence over all the above configuration options/arguments:
       
    77 
       
    78 Section "Monitor"
       
    79 ...
       
    80   DisplaySize     width height
       
    81   Option         "UseEdidDpi"  "false"
       
    82 ...
       
    83 EndSection
       
    84