# Enrique's xorg.conf # www.rockhopper.dk/linux/software/configuring-x.html # # Serverlayout sections # Section "ServerLayout" Identifier "Single" Screen "screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Framebuffer" Screen "Framebuffer" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Dualhead-Cloned" Screen "Clone0" 0 0 Screen "Clone1" 0 0 Option "Xinerama" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection # # Misc sections # Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/share/fonts/corefonts" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/ttf-bitstream-vera" FontPath "/usr/share/fonts/artwiz" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/misc:unscaled" EndSection Section "Module" Load "GLcore" #OpenGL support Load "dbe" #Double-buffering Load "glx" #OpenGL Xprotocol interface Load "dri" #Direct rendering intrastructure Load "drm" #Direct rendering intrastructure Load "extmod" #Misc. required extensions, eg. dpms Load "freetype" #TrueType font handler SubSection "extmod" Option "omitxfree86-dga" # Do not load dga EndSubSection EndSection # # Inputdevice sections # Section "InputDevice" Identifier "Keyboard0" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "dk" EndSection Section "InputDevice" Driver "mouse" Identifier "Mouse0" Option "Device" "/dev/input/mouse0" # Option "Name" "AutoDetected" # Option "Protocol" "MouseManPlusPS/2" Option "Protocol" "ExplorerPS/2" # Option "Protocol" "Auto" # Option "Vendor" "AutoDetected" Option "Buttons" "7" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" Option "EmulateWheel" "1" Option "EmulateWheelButton" "4" Option "EmulateWheelInertia" "30" Option "Emulate3Button" "false" # Option "Resolution" "1600" # Option "SendCoreEvents" "true" EndSection # # Monitor sections # Section "Monitor" Identifier "Eizo" VendorName "Eizo" ModelName "F67" HorizSync 30 - 96 VertRefresh 50 - 160 Option "DPMS" EndSection Section "Monitor" Identifier "TV" VendorName "Sony" ModelName "KV25FX20" HorizSync 30 - 96 VertRefresh 50 - 160 EndSection # # Device sections # Section "Device" Identifier "Matrox Millennium G400" Driver "mga" VendorName "Matrox" BoardName "G400Max" Option "AGPMode" "4" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "G400_Clone0" Driver "mga" VendorName "Matrox" BoardName "G400Max" VideoRam 32768 Option "hw cursor" "off" Option "AGPMode" "4" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "G400_Clone1" Driver "mga" VendorName "Matrox" BoardName "G400Max" VideoRam 32768 Option "hw cursor" "off" Option "TV" "yes" Option "TVStandard" "PAL" Option "CableType" "YC_COMPOSITE" Option "AGPMode" "4" BusID "PCI:1:0:0" Screen 1 EndSection Section "Device" Identifier "G400_FB" Driver "mga" VendorName "Matrox" BoardName "G400Max" VideoRam 32768 Option "hw cursor" "off" Option "usefbdev" Option "AGPMode" "4" BusID "PCI:1:0:0" EndSection # # Screen sections # Section "Screen" Identifier "screen0" Device "Matrox Millennium G400" Monitor "Eizo" DefaultDepth 16 SubSection "Display" Depth 8 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" "640x400" "320x240" EndSubSection SubSection "Display" Depth 16 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" "640x400" "320x240" EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" "640x400" "320x240" EndSubSection EndSection Section "Screen" Identifier "Clone0" Device "G400_Clone0" Monitor "Eizo" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" ViewPort 0 0 EndSubSection EndSection Section "Screen" Identifier "Clone1" Device "G400_Clone1" Monitor "TV" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" ViewPort 0 0 EndSubSection EndSection Section "Screen" Identifier "Framebuffer" Device "G400_FB" Monitor "TV" DefaultDepth 16 DefaultFbBPP 16 SubSection "Display" Depth 16 Modes "800x600" EndSubSection EndSection # # DRI section # Section "DRI" Mode 0666 EndSection