All pastes #370624 Raw Edit

Mine

public text v1 · immutable
#370624 ·published 2007-02-24 19:11 UTC
rendered paste body
cvill64@hc6524fdd ~ $ cat /etc/X11/xorg.conf
Section "Module"

# This loads the DBE extension module.

   Load        "dbe"   # Double buffer extension
   Load         "extmod"

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"


# This loads the GLX module
    Load       "glx"


EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


#    FontPath   "unix/:-1"

#    FontPath   "/usr/share/fonts/freefont"
#    FontPath   "/usr/share/fonts/sharefonts"
#   FontPath    "/usr/local/share/fonts"

    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/corefonts"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/local/share/fonts"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

 Option "Xinerama" "off"
 Option "AIGLX" "true"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"
    Option "AutoRepeat" "500 30"

    Option "XkbModel" "xorg"
    Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

  Identifier    "Mouse1"
  Driver        "mouse"
  Option        "Protocol"      "IMPS/2"
  Option        "ZAxisMapping"  "4 5"
  Option        "Device"        "/dev/psaux"

EndSection

# ****************
# Tablet Section
# ****************


Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
  Option   "Mode"      "Absolute"
  Option   "PressCurve"   "0,5,95,100"
  Option   "Button2"   "3"
  Option   "Button3"   "2"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
  Option   "Mode"      "Absolute"
  Option   "PressCurve"   "0,5,95,100"
  Option   "Button2"   "3"
  Option   "Button3"   "2"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for Intuos3, Cintiq 21UX, or Graphire4 only
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
  Option   "ButtonsOnly" "on"
  Option   "Button9" "2"
  Option   "Button13" "3"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************


Section "Monitor"

    Identifier  "My Monitor"
    HorizSync   31.5 - 105
    VertRefresh 60 - 75
    Option      "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "Dispositivo1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Screen      0
    #Option "IgnoreEDID" "true"
    #Option "AllowGLXWithComposite" "true"
    Option "RenderAccel" "1"
    Option "NoLogo" "On"
    Option "TwinView" "true"
    #Option "MetaModes"                "1440x900,1440x900"
    Option "MetaModes"                "1440x900,1440x900; 1024x768,1024x768"
    Option "HorizSync"                "CRT-0: 31.5-105; CRT-1: 31.5-105"
    Option "VertRefresh"              "CRT-0: 60-75; CRT-1: 60-75"
    Option "ConnectedMonitor"         "CRT-0,CRT-1"
    Option "IgnoreDisplayDevices"     "TV-0"
    Option "TwinViewOrientation"      "RightOf"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier  "Screen1"
    Device      "Dispositivo1"
    Monitor     "My Monitor"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "true"

    Subsection "Display"
        Depth       8
        Modes       "1440x900" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1440x900" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1440x900" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
 Identifier     "Normal"
 Screen         "Screen1"
 InputDevice    "Mouse1"         "CorePointer"
 InputDevice    "Keyboard1"      "CoreKeyboard"
 Option         "Xinerama"       "off"
 Option         "Clone"          "off"
  Option         "AIGLX"          "true"
 InputDevice    "stylus"    "SendCoreEvents"
 InputDevice    "eraser"    "SendCoreEvents"
 InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD tablets only
 InputDevice    "pad"   "SendCoreEvents"
EndSection

Section "Extensions"

        Option "Composite" "Enable"
#       Option "RENDER" "Enable"
#       Option "DAMAGE" "true"

EndSection