LinuxPedia

Wiki libre et indépendant dédié à GNU-Linux et BSD.

Outils pour utilisateurs

Outils du site


expert:xorg.conf

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

expert:xorg.conf [2018/11/17 13:53] (Version actuelle)
Ligne 1: Ligne 1:
 +====== Mieux connaitre le fichier xorg.conf======
  
 +[[:retrouver_un_mode_graphique_rapidement_en_cas_de_crash]]
 +
 +====== sabayon ======
 +Section "Files"
 +
 +
 +    #FontPath "/usr/share/fonts/local/"
 +    FontPath "/usr/share/fonts/misc/"
 +    FontPath "/usr/share/fonts/Type1/"
 +    FontPath    "/usr/share/fonts/TTF/"
 +    FontPath "/usr/share/fonts/75dpi/"
 +    FontPath "/usr/share/fonts/100dpi/"
 +    FontPath "/usr/share/fonts/corefonts"
 +
 +EndSection
 +
 +# **********************************************************************
 +# Module section -- this is an optional section which is used to specify
 +# which run-time loadable modules to load when the X server starts up.
 +# **********************************************************************
 +
 +Section "Module"
 +
 +    Load "dbe"
 +    Load "i2c"
 +    Load "glx"
 +    Load "ddc"
 +    Load "type1"
 +    Load "freetype"
 +    Load "extmod"
 +    Load "synaptics"
 +    Load "vbe"
 +#   Load        "dri"
 +
 +EndSection
 +
 +
 +# **********************************************************************
 +# Server flags section.  This contains various server-wide Options.
 +# **********************************************************************
 +
 +Section "ServerFlags"
 +
 +     Option "AllowMouseOpenFail" "true"
 +
 +EndSection
 +
 +# **********************************************************************
 +# Input devices
 +# **********************************************************************
 +
 +# **********************************************************************
 +# Core keyboard's InputDevice section
 +# **********************************************************************
 +
 +Section "InputDevice"
 +    Identifier "Synaptics1"
 +    Driver "synaptics"
 +    Option "SendCoreEvents" "true"
 +    Option "Device" "/dev/psaux"
 +    Option "Protocol" "auto-dev"
 +    Option "HorizScrollDelta" "0"
 +    Option "SHMConfig" "on"
 +    # For ALPS/MacBook TouchPads
 +    #Option "MaxSpeed" "0.7"
 +    #Option "MinSpeed" "0.18"
 +    #Option "AccelFactor" "0.08"
 +    #Option "TopEdge" "120"
 +    #Option "LeftEdge" "120"
 +    #Option "BottomEdge" "830"
 +    #Option "RightEdge" "650"
 +    #Option "FingerLow" "25"
 +    #Option "FingerHigh" "30"
 +    # MacBook touchpad
 +    #Option "MaxTapTime" "180"
 +    #Option "MaxTapMove" "220"
 +    #Option "MaxDoubleTapTime" "180"
 +    #Option "VertScrollDelta" "20"
 +    #Option "HorizScrollDelta" "50" 
 +    #Option "TapButton2" "3"
 +    #Option "TapButton3" "2"
 +    #Option "VertTwoFingerScroll" "1"
 +
 +    # Do you keep moving the mouse while typing? Try this trick.
 +    #synclient TouchpadOff=1 disable your synaptics touchpad
 +    #synclient TouchpadOff=0 enable your synaptics touchpad
 +EndSection
 +
 +
 +Section "InputDevice"
 +
 +    Identifier "Keyboard1"
 +    Driver "kbd"
 +    
 +    Option "AutoRepeat" "500 5"
 +    Option      "XkbModel"      "pc105"
 +    Option "XkbLayout" "ca"
 +    Option      "XkbRules"      "xorg"
 +    # Macintosh keyboard
 +    #Option "XkbOptions" "lv3:rwin_switch"
 +
 +EndSection
 +
 +
 +Section "InputDevice"
 +  Driver        "wacom"
 +  Identifier    "wacom1"
 +  Option        "Device"        "/dev/wacom"          # Change to 
 +                                                      # /dev/input/event
 +                                                      # for USB
 +  Option        "Type"          "stylus"
 +  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
 +EndSection
 +
 +Section "InputDevice"
 +  Driver        "wacom"
 +  Identifier    "wacom2"
 +  Option        "Device"        "/dev/wacom"          # Change to 
 +                                                      # /dev/input/event
 +                                                      # for USB
 +  Option        "Type"          "eraser"
 +  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
 +EndSection
 +
 +Section "InputDevice"
 +  Driver        "wacom"
 +  Identifier    "wacom3"
 +  Option        "Device"        "/dev/wacom"          # Change to 
 +                                                      # /dev/input/event
 +                                                      # for USB
 +  Option        "Type"          "cursor"
 +  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
 +EndSection
 +
 +
 +# **********************************************************************
 +# Core Pointer's InputDevice section
 +# **********************************************************************
 +
 +Section "InputDevice"
 +
 +# Identifier and driver
 +
 +    Identifier "Mouse1"
 +    Driver "mouse"
 +
 +    Option "Device" "/dev/psaux"
 +    Option "Protocol" "ImPS/2"
 +    Option "ZAxisMapping" "4 5"
 +     
 +EndSection
 +
 +Section "InputDevice"
 +    Identifier "Mouse2"
 +    Driver "mouse"
 +    Option "Protocol" "ImPS/2"
 +    Option "Device" "/dev/input/mice"
 +    Option "ZAxisMapping" "4 5"
 +EndSection
 +
 +
 +# **********************************************************************
 +# Monitor section
 +# **********************************************************************
 +
 +# Any number of monitor sections may be present
 +
 +Section "Monitor"
 +
 +    Identifier "Generic Monitor"
 +    #Option      "DPMS"
 +
 +    VertRefresh 50-130
 +    HorizSync 30-70
 +
 +EndSection
 +
 +# **********************************************************************
 +# Graphics device section
 +# **********************************************************************
 +
 +# Any number of graphics device sections may be present
 +
 +Section "Device"
 +    Identifier  "VESA"
 +    Driver      "nvidia" # do not remove vesa
 +    #Option "RenderAccel" "on"
 +    #Option "XAANoOffscreenPixmaps"
 +    #Option "BusType" "PCI"
 +    #Option "ColorTiling" "on"
 +    #Option "EnablePageFlip" "on"
 +EndSection
 +
 +
 +# **********************************************************************
 +# Screen sections.
 +# **********************************************************************
 +
 +Section "Screen"
 +
 +# The Identifier, Device and Monitor lines must be present
 +
 +    Identifier "Screen 1"
 +    Device "VESA"
 +    Monitor "Generic Monitor"
 +    #Option "AddARGBGLXVisuals" "true"
 +
 +# The favoured Depth and/or Bpp may be specified here
 +
 +    DefaultDepth 24
 +
 +    SubSection "Display"
 +        Depth 8
 +        ViewPort 0 0
 +        Modes "1024x768" "800x600" "640x480"
 +    EndSubsection
 +
 +    SubSection "Display"
 +        Depth           16
 +        ViewPort        0 0
 +        Modes "1024x768" "800x600" "640x480"
 +    EndSubsection
 +
 +    SubSection "Display"
 +        Depth           24
 +        ViewPort        0 0
 +        Modes "1024x768" "800x600" "640x480"
 +    EndSubsection
 +
 +
 +EndSection
 +
 +
 +Section "ServerLayout"
 +# The Identifier line must be present
 +
 +    Identifier "Main Layout"
 +    Screen 0 "Screen 1"
 +    InputDevice "Mouse1" "CorePointer"
 +    InputDevice "Mouse2" "SendCoreEvents"
 +    #InputDevice "Synaptics1" "SendCoreEvents"
 +    #InputDevice "wacom1" "SendCoreEvents"
 +    #InputDevice "wacom2" "SendCoreEvents"
 +    #InputDevice "wacom3" "SendCoreEvents"
 +    InputDevice "Keyboard1" "CoreKeyboard"
 +
 +EndSection
 +
 +Section "DRI"
 +    Mode 0666
 +EndSection
 +
 +Section "Extensions"
 +   #Option "Composite" "Enable"
 +EndSection
 +
 +
 +====== debian =======
 +
 +DELETEME laisser pour l'instant svp brouillon
 +
 +
 +# xorg.conf (xorg X Window System server configuration file)
 +#
 +# This file was generated by dexconf, the Debian X Configuration tool, using
 +# values from the debconf database.
 +#
 +# Edit this file with caution, and see the xorg.conf manual page.
 +# (Type "man xorg.conf" at the shell prompt.)
 +#
 +# This file is automatically updated on xserver-xorg package upgrades *only*
 +# if it has not been modified since the last upgrade of the xserver-xorg
 +# package.
 +#
 +# If you have edited this file but would like it to be automatically updated
 +# again, run the following command:
 +#   sudo dpkg-reconfigure -phigh xserver-xorg
 +
 +Section "Files"
 +EndSection
 +
 +Section "InputDevice"
 + Identifier "Generic Keyboard"
 + Driver "kbd"
 + Option "CoreKeyboard"
 + Option "XkbRules" "xorg"
 + Option "XkbModel" "pc105"
 + Option "XkbLayout" "fr"
 + Option "XkbVariant" "latin9"
 +EndSection
 +
 +Section "InputDevice"
 + Identifier "Configured Mouse"
 + Driver "mouse"
 + Option "CorePointer"
 + Option "Device" "/dev/input/mice"
 + Option "Protocol" "ImPS/2"
 + Option "Emulate3Buttons" "true"
 +EndSection
 +
 +Section "Device"
 + Identifier "nVidia Corporation NV40 [GeForce 6800 GT]"
 + Driver "nvidia"
 + Option         "AllowGLXWithComposite" "true"
 +    Option         "XAANoOffscreenPixmaps"   "true"
 +    Option  "TripleBuffer"   "true" 
 + BusID "PCI:1:0:0"
 +EndSection
 +
 +Section "Monitor"
 + Identifier "Écran générique"
 + Option "DPMS"
 + DisplaySize 340 270
 + HorizSync 30-120
 + VertRefresh 50-160
 +EndSection
 +
 +Section "Screen"
 + Identifier "Default Screen"
 + Device "nVidia Corporation NV40 [GeForce 6800 GT]"
 + Monitor "Écran générique"
 +        Option     "AddARGBGLXVisuals"   "true" 
 + DefaultDepth 24
 + SubSection "Display"
 + Modes "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
 + EndSubSection
 +EndSection
 +
 +Section "ServerLayout"
 + Identifier "Default Layout"
 + Screen "Default Screen"
 + InputDevice "Generic Keyboard"
 + InputDevice "Configured Mouse"
 +EndSection
 +Section "Extensions"
 +        Option     "Composite" "Enable"
 +EndSection
expert/xorg.conf.txt · Dernière modification: 2018/11/17 13:53 (modification externe)