Bonjour,
je te poste mon xorg.conf en espérant qu’il te sera utile plus quelques scripts pour choisir
si je passe en double écran, éteint l’écran du portable, rallume l’écran du portable…
[code]Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 “Screen0” 0 0
InputDevice “Mouse0” "CorePointer"
InputDevice “Keyboard0” "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "record"
Load "GLcore"
Load "extmod"
Load "xtrap"
Load "glx"
Load "dbe"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option “XkbModel” "pc105"
Option “XkbLayout” "fr"
Option “XkbVariant” "latin9"
Option “XkbOptions” "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "CorePointer"
Option “SendCoreEvents” "true"
Option “Device” "/dev/input/mice"
Option “Protocol” "auto-dev"
Option “HorizEdgeScroll” "1"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option “Protocol” "auto"
Option “Device” "/dev/input/mice"
Option “ZAxisMapping” "4 5 6 7"
EndSection
Section “Monitor”
#DisplaySize 230 140 # mm
Identifier "Monitor0"
VendorName "CPT"
ModelName "4c4"
EndSection
Section “Device”
### Available Driver options are:-
### Values: : integer, : float, : “True”/“False”,
### : “String”, : " Hz/kHz/MHz"
### [arg]: arg optional
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GME Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Virtual 1440 1500
EndSubSection
EndSection[/code]
J’ai aggrandi la résolution vituelle vers le bas, à la base, j’ai 1024x600 sur le portable et 1440x900 sur l’écran externe,
en essayant de les mettre l’un a coté de l’autre, ça ne passait pas j’étais bridé à 2048x2048.
Je branche l’écran externe juste avant de passer en mode graphique, mais tu pourrais le laisser brancher dès le boot.
Pour passer en mode double écran
VGA est l’écran externe, LVDS celui du portable, c’est xrandr qui m’a raconté ça.#!/bin/sh
xrandr --output VGA --above LVDS
Pour couper la sortie sur l’écran du portable : #!/bin/sh
xrandr --output LVDS --off
Pour la rallumer :#!/bin/sh
xrandr --output LVDS --auto
Jamais testé sous gnome …