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