author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 22 Feb 2016 13:31:27 +0200 | |
changeset 1909 | 6b76120bd2d3 |
parent 1905 | fba288d59662 |
child 1912 | 8b81a8f0f692 |
permissions | -rw-r--r-- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1282
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1282
diff
changeset
|
2 |
.. include:: HEADER.rst |
1281
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
======= |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
Xorg. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
======= |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1282
diff
changeset
|
7 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
8 |
:local: |
1281
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
Where find info? |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
================ |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
$ man 5 xorg.cong |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
Enable Ctrl+Alt+Backspace. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
========================== |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
19 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
$ cat /etc/X11/xorg.conf |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
Section "ServerFlags" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
Option "DontZap" "false" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
How set standby time? |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
===================== |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
Put something like this in xorg.cong:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
Section "ServerFlags" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
# Disallows the use of the Ctrl+Alt+Keypad-Plus and Ctrl+Alt+Keypad-Minus. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
Option "DontZoom" "true" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
# Blank phase of the screensaver. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
#Option "BlankTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
# Standby phase of DPMS mode. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
Option "StandbyTime" "10" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
# |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
#Option "SuspendTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
# |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
#Option "OffTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
44 |
Time measure in minute. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
46 |
To enable this configuration you must set "DPMS" option in "Monitor" section:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
47 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
48 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
Option "DPMS" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
52 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
53 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
54 |
To view current DPMS settings:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
55 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
56 |
$ xset q |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
57 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
To disable DPMS for current session use command:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
$ xset -dpms |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
61 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
62 |
To turn off monitor use:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
63 |
|
1282 | 64 |
$ sleep 1; xset dpms force off |
65 |
||
66 |
See: |
|
67 |
||
68 |
* https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling |
|
1281
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
69 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
Set display dimensions. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
71 |
======================= |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
73 |
To see currect settings type:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
75 |
$ xdpyinfo | grep dimensions: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
dimensions: 1280x1024 pixels (382x302 millimeters) |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
77 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
78 |
From this dimensions calculated your display dpi resolution:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
80 |
$ xdpyinfo | grep resolution: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
81 |
resolution: 85x86 dots per inch |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
82 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
83 |
To set dimensions edit '/etc/X11/xorg.conf' (size in mm):: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
84 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
85 |
$ cat /etc/X11/xorg.conf |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
86 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
87 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
89 |
DisplaySize width height |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
90 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
91 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
92 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
93 |
Overriding EDID Settings for NVidia cards. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
94 |
------------------------------------------ |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
95 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
96 |
If you're using NVIDIA display drivers version 8756 or above and your monitor |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
97 |
reports an EDID DPI value, you must tell the drivers to ignore this value as |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
98 |
it takes precedence over all the above configuration options/arguments:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
99 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
100 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
101 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
102 |
DisplaySize width height |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
103 |
Option "UseEdidDpi" "false" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
104 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
105 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
106 |