author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 25 Feb 2011 17:05:05 +0200 | |
changeset 824 | 054aedafaca4 |
parent 206 | 80999c1fc49d |
permissions | -rw-r--r-- |
0 | 1 |
-*- mode: outline -*- |
2 |
||
3 |
* Where find info? |
|
4 |
||
5 |
$ man 5 xorg.cong |
|
6 |
||
206
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
7 |
* Enable Ctrl+Alt+Backspace. |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
8 |
|
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
9 |
$ cat /etc/X11/xorg.conf |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
10 |
... |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
11 |
Section "ServerFlags" |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
12 |
Option "DontZap" "false" |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
13 |
EndSection |
80999c1fc49d
Enable Ctrl+Alt+Backspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
147
diff
changeset
|
14 |
|
0 | 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. |
|
141
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
33 |
|
146
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
34 |
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
|
35 |
|
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
36 |
Section "Monitor" |
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
37 |
... |
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
38 |
Option "DPMS" |
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
39 |
... |
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
40 |
EndSection |
4adbba498fef
Update "How set standby time?"
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
141
diff
changeset
|
41 |
|
824
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
42 |
To disable standby for current session use command: |
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
43 |
|
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
44 |
$ xset -dpms |
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
45 |
|
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
46 |
To turn off monitor use: |
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
47 |
|
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
48 |
$ xset dpms force off |
054aedafaca4
Turn off monitor. Disable standby for current session.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
206
diff
changeset
|
49 |
|
141
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
50 |
* Set display dimensions. |
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 |
To see currect settings type: |
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 |
$ xdpyinfo | grep dimensions: |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
55 |
dimensions: 1280x1024 pixels (382x302 millimeters) |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
56 |
|
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
57 |
From this dimensions calculated your display dpi resolution: |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
58 |
|
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
59 |
$ xdpyinfo | grep resolution: |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
60 |
resolution: 85x86 dots per inch |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
61 |
|
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
62 |
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
|
63 |
|
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
64 |
$ cat /etc/X11/xorg.conf |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
65 |
... |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
66 |
Section "Monitor" |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
67 |
... |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
68 |
DisplaySize width height |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
69 |
... |
2ed1540d3034
How to set display dimensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
0
diff
changeset
|
70 |
EndSection |
147
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
71 |
|
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
72 |
** Overriding EDID Settings for NVidia cards. |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
73 |
|
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
74 |
If you're using NVIDIA display drivers version 8756 or above and your monitor |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
75 |
reports an EDID DPI value, you must tell the drivers to ignore this value as |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
76 |
it takes precedence over all the above configuration options/arguments: |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
77 |
|
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
78 |
Section "Monitor" |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
79 |
... |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
80 |
DisplaySize width height |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
81 |
Option "UseEdidDpi" "false" |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
82 |
... |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
83 |
EndSection |
72c4460f5b13
Overriding EDID Settings for NVidia cards.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
146
diff
changeset
|
84 |