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" "pc105" 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" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Resolution" "800" #optional Option "Buttons" "10" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7" EndSection # **##3.05################## # 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 # **##3.05 END ################## # **************** # 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 30.0 - 82.0 VertRefresh 50.0 - 85.0 # Option "DPMS" Modeline "1440x900_70.00" 126.98 1440 1536 1688 1936 900 901 904 937 -HSync +Vsync Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync DisplaySize 1440 900 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" "true" Option "LogoPath" "/etc/X11/nv-splash.png" Option "TwinView" "true" # Option "MetaModes" "1440x900,1440x900" Option "MetaModes" "1440x900,1280x1024; 1280x1024,1280x1024" Option "HorizSync" "CRT-0: 30.0-82.0; CRT-1: 30-96" Option "VertRefresh" "CRT-0: 50.0-85.0; CRT-1: 50-160" Option "ConnectedMonitor" "CRT-0,CRT-1" Option "IgnoreDisplayDevices" "TV-0" # Option "TwinViewOrientation" "RightOf" # Option "MetaModes" "1024x768" Option "SecondMonitorHorizSync" "30 - 96" Option "SecondMonitorVertRefresh" "50 - 160" EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Identifier "Screen1" Device "Dispositivo1" Monitor "My Monitor" DefaultDepth 24 Option "AddARGBGLXVisuals" "true" Subsection "Display" Depth 8 # Modes "1024x768" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 # Modes "1024x768" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1440x900_70.00" "1440x900_60.00" 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