BSD Stuff


xorg.conf--old

30 August 2006, 01:29

This is my skeleton /etc/X11/xorg.conf file for my FreeBSD systems. This config file is set up to support 3 monitors.

# cd /etc/Xorg/
# vim xorg.conf
#Code
0001Section "ServerLayout"
0002Identifier "Default Layout"
0003InputDevice "Mouse0" "CorePointer"
0004InputDevice "Keyboard0" "CoreKeyboard"
0005Option "Xinerama" "on"
0006Option "Clone" "off"
0007#Option "Offtime" "10"
0008Screen "Screen 0" 0 0
0009Screen "Screen 1" LeftOf "Screen 0"
0010Screen "Screen 2" LeftOf "Screen 1"
0011EndSection
0012 
0013Section "Extensions"
0014Option "Composite" "Enable"
0015Option "RENDER" "Enable"
0016EndSection
0017 
0018Section "Files"
0019RgbPath "/usr/X11R6/lib/X11/rgb"
0020ModulePath "/usr/X11R6/lib/modules"
0021FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
0022FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
0023FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
0024#FontPath "/usr/X11R6/lib/X11/fonts/CID/"
0025FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
0026FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
0027FontPath "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
0028FontPath "/usr/X11R6/lib/X11/fonts/artwiz-aleczapka-en"
0029FontPath "/usr/X11R6/lib/X11/fonts/dejavu/"
0030FontPath "/usr/X11R6/lib/X11/fonts/koi8-u-gemini/"
0031FontPath "/usr/X11R6/lib/X11/fonts/URW/"
0032FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
0033FontPath "/usr/X11R6/lib/X11/fonts/webfonts/"
0034FontPath "/usr/X11R6/lib/X11/fonts/avifonts/"
0035EndSection
0036 
0037Section "Module"
0038Load "extmod"
0039#Load "dri"
0040Load "glx"
0041Load "dbe"
0042Load "record"
0043#Load "xtrap"
0044Load "type1"
0045Load "freetype"
0046Load "ramdac"
0047EndSection
0048 
0049Section "InputDevice"
0050Identifier "Keyboard0"
0051Driver "kbd"
0052EndSection
0053 
0054Section "InputDevice"
0055Identifier "Mouse0"
0056Driver "mouse"
0057Option "Protocol" "Auto"
0058Option "Device" "/dev/sysmouse"
0059EndSection
0060 
0061Section "Monitor"
0062Identifier "Monitor0"
0063VendorName "IVM"
0064ModelName "PLE431"
0065 ### Comment all HorizSync and VertSync values to use DDC:
0066HorizSync 24.0 - 83.0
0067VertRefresh 55.0 - 75.0
0068Option "DPMS" "on"
0069EndSection
0070 
0071Section "Monitor"
0072Identifier "Monitor1"
0073VendorName "HSL"
0074ModelName "720E"
0075### Comment all HorizSync and VertSync values to use DDC:
0076HorizSync 30.0 - 72.0
0077VertRefresh 50.0 - 160.0
0078Option "DPMS"
0079EndSection
0080 
0081Section "Device"
0082Identifier "nvidia0"
0083Driver "nvidia"
0084VendorName "nVidia Corporation"
0085BoardName "NV25 [GeForce4 Ti 4200]"
0086BusID "PCI:1:0:0"
0087Screen 0
0088Option "RenderAccel" "true"
0089Option "AllowGLXWithComposite" "true"
0090EndSection
0091 
0092Section "Device"
0093Identifier "nvidia1"
0094Driver "nvidia"
0095VendorName "nVidia Corporation"
0096BoardName "NV25 [GeForce4 Ti 4200]"
0097BusID "PCI:1:0:0"
0098Screen 1
0099Option "RenderAccel" "true"
0100Option "AllowGLXWithComposite" "true"
0101EndSection
0102 
0103Section "Device"
0104Identifier "Card0"
0105Driver "mga"
0106VendorName "Matrox Graphics, Inc."
0107BoardName "G400/G450"
0108BusID "PCI:2:0:0"
0109EndSection
0110 
0111Section "Screen"
0112Identifier "Screen 0"
0113Device "nvidia0"
0114Monitor "Monitor0"
0115DefaultDepth 24
0116SubSection "Display"
0117Depth 24
0118Modes "1280x1024"
0119EndSubSection
0120EndSection
0121 
0122Section "Screen"
0123Identifier "Screen 1"
0124Device "nvidia1"
0125Monitor "Monitor0"
0126DefaultDepth 24
0127SubSection "Display"
0128Viewport 0 0
0129Depth 24
0130Modes "1280x1024"
0131EndSubSection
0132EndSection
0133 
0134Section "Screen"
0135Identifier "Screen 2"
0136Device "Card0"
0137Monitor "Monitor1"
0138DefaultDepth 24
0139SubSection "Display"
0140Viewport 0 0
0141Depth 24
0142Modes "1280x1024"
0143EndSubSection
0144EndSection
0145 
0146Section "DRI"
0147Group 0
0148Mode 0666
0149EndSection
0150 

Page 1 of 1