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?"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
-*- mode: outline -*-
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Where find info?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
  $ man 5 xorg.cong
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
* How set standby time?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Put something like this in xorg.cong:
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
  Section "ServerFlags"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
      # Disallows the use of the Ctrl+Alt+Keypad-Plus and Ctrl+Alt+Keypad-Minus.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
      Option "DontZoom"       "true"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
      # Blank phase of the screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
      #Option "BlankTime"      "0"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
      # Standby phase of DPMS mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
      Option "StandbyTime"     "10"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
      #
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
      #Option "SuspendTime"    "0"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
      #
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
      #Option "OffTime"        "0"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
  EndSection
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
Time measure in minute.
141
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    25
146
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    26
To enable this configuration you must set "DPMS" option in "Monitor" section:
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    27
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    28
  Section "Monitor"
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    29
...
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    30
      Option "DPMS"
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    31
...
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    32
  EndSection
4adbba498fef Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 141
diff changeset
    33
141
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    34
* Set display dimensions.
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    35
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    36
To see currect settings type:
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    37
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    38
  $ xdpyinfo | grep   dimensions:
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    39
dimensions:    1280x1024 pixels (382x302 millimeters)
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    40
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    41
From this dimensions calculated your display dpi resolution:
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    42
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    43
  $ xdpyinfo | grep resolution:
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    44
resolution:    85x86 dots per inch
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    45
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    46
To set dimensions edit '/etc/X11/xorg.conf' (size in mm):
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    47
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    48
  $ cat /etc/X11/xorg.conf
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    49
...
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    50
Section "Monitor"
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    51
...
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    52
  DisplaySize     width height
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    53
...
2ed1540d3034 How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 0
diff changeset
    54
EndSection