Xorg.conf
Accueil
Voici un fichier Xorg.conf de base il a été généré lors de l'installation de Mandriva.
Depuis ce fichier vous pouvez changer la configuration des principaux périphériques: Ecrans, Souris et Clavier...
Vous pouvez le modifier grace à l'éditeur vi depuis la console.
Pour ma part, aprés avoir installer les drivers Ati j'ai lancé la commande aticonfig (anciennement# fglrxconfig)
Cela m'as permis de générer un fichier xorg.conf plus évolué et adapté au driver en lancant une serie de commande
Voir Driver Ati
Vous trouverez le fichier xorg.conf dans le dossier /etc/X11
Voici le mien aprés l'install de Mandriva
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable / (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1" Cette section décrit le type de clavier, "pc105" pour Clavier 105 touches, "fr" pour clavier français
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1" Cette section décrit le type de souris
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor" Cette section fournit une déscription détaillée de votre moniteur. Cette section est trés importante, car des informations fausses peuvent détruire le périphérique.
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67 C'est ici que vous trouverez les frequences de votre moniteur
VertRefresh 50-75
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Monitor" Ca c'est pour le deuxieme moniteur
Identifier "monitor2"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"Cette section décrit votre carte vidéo
Identifier "device1"
Driver "radeon"
Screen 0
Option "DPMS"
EndSection
Section "Device"Cette section décrit le deuxieme port de votre carte vidéo (si vous en avez un)
Identifier "device2"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon (fglrx)"
Driver "ati"
Screen 0
BusID "PCI:5:0:1"
Option "DPMS"
EndSection
Section "Screen"Cette section se sert des sections Monitor et Device pour décrire votre zone d'écran physique: nombre de couleur, résolution,etc...
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection
Section "Screen"
Identifier "screen2"
Device "device2"
Monitor "monitor2"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection
Section "ServerLayout" Cette section décrit l'organisation de votre deux écrans l'un par rapport à l'autre
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
Screen "screen2" RightOf "screen1"
Option "Xinerama"
EndSection