author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 05 Aug 2015 23:55:34 +0300 | |
changeset 1729 | 22ffd80639c0 |
parent 1334 | 9bf0d5a1f0cf |
child 1905 | fba288d59662 |
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:: |
1281
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
Where find info? |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
================ |
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 |
$ man 5 xorg.cong |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
Enable Ctrl+Alt+Backspace. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
========================== |
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 |
$ cat /etc/X11/xorg.conf |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
Section "ServerFlags" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
Option "DontZap" "false" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
How set standby time? |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
===================== |
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 |
Put something like this in xorg.cong:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
Section "ServerFlags" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
# 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
|
32 |
Option "DontZoom" "true" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
# Blank phase of the screensaver. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
#Option "BlankTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
# Standby phase of DPMS mode. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
Option "StandbyTime" "10" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
# |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
#Option "SuspendTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
# |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
#Option "OffTime" "0" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
Time measure in minute. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
44 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
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
|
46 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
47 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
48 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
Option "DPMS" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
52 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
53 |
To view current DPMS settings:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
54 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
55 |
$ xset q |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
56 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
57 |
To disable DPMS for current session use command:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
$ xset -dpms |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
61 |
To turn off monitor use:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
62 |
|
1282 | 63 |
$ sleep 1; xset dpms force off |
64 |
||
65 |
See: |
|
66 |
||
67 |
* https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling |
|
1281
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
68 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
69 |
Set display dimensions. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
======================= |
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 |
To see currect settings type:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
73 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
$ xdpyinfo | grep dimensions: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
75 |
dimensions: 1280x1024 pixels (382x302 millimeters) |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
77 |
From this dimensions calculated your display dpi resolution:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
78 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
$ xdpyinfo | grep resolution: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
80 |
resolution: 85x86 dots per inch |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
81 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
82 |
To set dimensions edit '/etc/X11/xorg.conf' (size in mm):: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
83 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
84 |
$ cat /etc/X11/xorg.conf |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
85 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
86 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
87 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
DisplaySize width height |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
89 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
90 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
91 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
92 |
Overriding EDID Settings for NVidia cards. |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
93 |
------------------------------------------ |
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 |
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
|
96 |
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
|
97 |
it takes precedence over all the above configuration options/arguments:: |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
98 |
|
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
99 |
Section "Monitor" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
100 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
101 |
DisplaySize width height |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
102 |
Option "UseEdidDpi" "false" |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
103 |
... |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
104 |
EndSection |
c8ba8ba3c0c9
view current DPMS settings
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
105 |