1 |
Après avoir cherché beaucoup et expérimenté en dirty mode |
2 |
(essai-erreur), je suis arrivé à un xorg qui fonctionne, même si c'est |
3 |
un peu le boxon dedans :-P |
4 |
|
5 |
Si je lance startx, il se lance avec la résolution de l'écran du portable |
6 |
Si je lance startx -- -layout external, il se lance avec la résolution |
7 |
de l'écran externe (1280x1024 pour moi) |
8 |
Dans les deux cas, les deux écrans sont des clones. |
9 |
Quand j'utilise l'écran externe, je suis au bureau, et j'ai un clavier |
10 |
externe usb. Je laisse alors le portable fermé sur un coin du bureau. |
11 |
|
12 |
Voici mon xorg.conf : |
13 |
|
14 |
|
15 |
|
16 |
Section "ServerLayout" |
17 |
Identifier "real" |
18 |
Screen 0 "real-screen" |
19 |
#Screen 1 "extra-screen"# LeftOf "real-screen" |
20 |
InputDevice "real-mouse" "CorePointer" |
21 |
InputDevice "real-keyboard" "CoreKeyboard" |
22 |
EndSection |
23 |
|
24 |
Section "ServerLayout" |
25 |
Identifier "external" |
26 |
Screen 0 "external-screen" |
27 |
InputDevice "real-mouse" "CorePointer" |
28 |
InputDevice "real-keyboard" "CoreKeyboard" |
29 |
EndSection |
30 |
|
31 |
Section "Files" |
32 |
FontPath "/usr/share/fonts/misc/" |
33 |
FontPath "/usr/share/fonts/TTF/" |
34 |
FontPath "/usr/share/fonts/Type1/" |
35 |
FontPath "/usr/share/fonts/CID/" |
36 |
FontPath "/usr/share/fonts/75dpi/" |
37 |
FontPath "/usr/share/fonts/100dpi/" |
38 |
EndSection |
39 |
|
40 |
Section "Module" |
41 |
Load "record" |
42 |
Load "extmod" |
43 |
Load "dbe" |
44 |
Load "dri" |
45 |
Load "glx" |
46 |
Load "xtrap" |
47 |
Load "freetype" |
48 |
Load "type1" |
49 |
EndSection |
50 |
|
51 |
Section "InputDevice" |
52 |
Identifier "real-keyboard" |
53 |
Driver "kbd" |
54 |
Option "CoreKeyboard" |
55 |
Option "XkbRules" "xorg" |
56 |
Option "XkbModel" "pc101" |
57 |
Option "XkbLayout" "us" |
58 |
Option "XkbVariant" "deadkeys" |
59 |
#Option "XkbModel" "pc105" |
60 |
#Option "XkbLayout" "be" |
61 |
EndSection |
62 |
|
63 |
Section "InputDevice" |
64 |
Identifier "real-mouse" |
65 |
Driver "mouse" |
66 |
Option "Protocol" "auto" |
67 |
Option "Device" "/dev/input/mice" |
68 |
Option "Buttons" "5" |
69 |
Option "ZAxisMapping" "4 5" |
70 |
EndSection |
71 |
|
72 |
Section "Monitor" |
73 |
Identifier "real-monitor" |
74 |
VendorName "QDS" |
75 |
ModelName "15" |
76 |
EndSection |
77 |
|
78 |
Section "Device" |
79 |
#Driver "radeon" |
80 |
#Driver "ati" |
81 |
Identifier "real-card" |
82 |
Driver "fglrx" |
83 |
BusID "PCI:1:0:0" |
84 |
Screen 0 |
85 |
EndSection |
86 |
|
87 |
Section "Device" |
88 |
Option "AGPMode" "4" |
89 |
Option "AGPFastWrite" "yes" |
90 |
Option "EnablePageFlip" "on" |
91 |
Option "DDCMode" "Yes" |
92 |
Option "DynamicClocks" "on" |
93 |
Option "BIOSHotkeys" "on" |
94 |
#Option "XAANoOffscreenPixmaps" "true" # AIGLX |
95 |
Option "DRI" "true" |
96 |
Option "MergedFB" "off" |
97 |
Option "RenderAccel" "true" |
98 |
Option "backingstore" "true" |
99 |
Option "CRT2HSync" "30.0 - 121.0" |
100 |
Option "CRT2VRefresh" "48.0 - 160.0" |
101 |
Option "MonitorLayout" "CRT, LVDS" |
102 |
#Option "CRT2Position" "Clone" |
103 |
Identifier "external-monitor-card" |
104 |
Screen 0 |
105 |
Driver "fglrx" #"radeon" |
106 |
VendorName "ATI Technologies Inc" |
107 |
BoardName "Radeon Mobility M7 LW [Radeon Mobility 7500]" |
108 |
BusID "PCI:1:0:0" |
109 |
EndSection |
110 |
|
111 |
Section "Screen" |
112 |
Identifier "real-screen" |
113 |
Device "real-card" |
114 |
Monitor "real-monitor" |
115 |
Option "BIOSHotkeys" "on" |
116 |
DefaultDepth 24 |
117 |
Option "MonitorLayout" "LVDS, TMDS" |
118 |
Option "MergedFB" "true" |
119 |
Option "MetaModes" "1024x768-1280x1024 1024x768-1024x768" |
120 |
SubSection "Display" |
121 |
#Virtual 1280 1024 |
122 |
Modes "1024x768 800x600 640x480" |
123 |
Depth 24 |
124 |
EndSubSection |
125 |
EndSection |
126 |
|
127 |
Section "Screen" |
128 |
Identifier "external-screen" |
129 |
Device "external-monitor-card" |
130 |
Monitor "real-monitor" |
131 |
DefaultDepth 24 |
132 |
SubSection "Display" |
133 |
Depth 16 |
134 |
Modes "1024x768" "800x600" "640x480" |
135 |
EndSubSection |
136 |
SubSection "Display" |
137 |
Depth 24 |
138 |
Modes "1280x1024" "1024x768" "800x600" "640x480" |
139 |
EndSubSection |
140 |
EndSection |
141 |
|
142 |
Section "DRI" |
143 |
Mode 0666 |
144 |
EndSection |
145 |
|
146 |
|
147 |
|
148 |
|
149 |
-- |
150 |
(\__/) |
151 |
(='.'=) Ceci est un petit lapin. Copiez/collez-le dans |
152 |
(")_(") votre signature pour l'aider à dominer le monde |
153 |
-- |
154 |
gentoo-user-fr@g.o mailing list |