Section "Files" FontPath "unix/:7110" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "ServerFlags" # Option "AllowMouseOpenFail" # Option "noPM" Option "BlankTime" "99999" Option "StandbyTime" "99999" Option "SuspendTime" "99999" Option "OffTime" "99999" EndSection Section "Module" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "bitmap" Load "freetype" Load "speedo" Load "type1" # For 4.1, add the following here: # Load "int10" # Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us # Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection # --------------- End of machine specific stuff ------------------------------ # ---------------------------------------------------------- # MONITOR section # ---------------------------------------------------------- # This section contains data for monitor configuration. # Monitor section for CRT2 (master head) Section "Monitor" Identifier "CRT2" VendorName "Monitor Vendor" ModelName "Monitor Model" # VertRefresh & HorizSync: # Despite this section describing CRT2, you should set some values here # anyway to keep XFree86 from deleting the mode from the mode list. # The values don't matter in any way as long as the upper limits are high # enough to allow the resolution to be used on CRT2. VertRefresh 60-75 HorizSync 30-90 EndSection # Monitor section for CRT1 (slave head) Section "Monitor" Identifier "CRT1" VendorName "Monitor Vendor" ModelName "Monitor Model" # These values are actually used to determine the resolution/refresh rates # to be used on CRT1! # VertRefresh 60-75 # HorizSync 30-90 EndSection # ---------------------------------------------------------- # DEVICE sections # ---------------------------------------------------------- # This section contains configuration data of the video card. # Device section for CRT2 (master head) Section "Device" Driver "sis" Identifier "SiS 630-1" VendorName "SiS" BoardName "630" Option "HWcursor" # Option "NoAccel" # Setting this option will disable 2D/3D accellerators (and Xv). #Option "NoAccel" # Option "ForceCRT2Type": # This option selects the CRT2 output device type and is only useful # on systems containing a video bridge (such as most laptops). # Available options are: # "TV" (if TV connector present), # "LCD" alias "DVI-D" (if LCD panel present), # "VGA" alias "DVI-A" (don't use this unless your machine has a # secondary VGA connector or a DVI-I connector. # The VGA connector on your laptop is CRT1!), # "NONE" (this will switch off CRT2). You might want to use "NONE" for # using higher resolutions than your LCD panel supports when # connected to an external VGA. # "SVIDEO" to force the TV output type to be S-VIDEO (SiS bridges only) # "COMPOSITE" like SVIDEO, but using COMPOSITE output. Option "ForceCRT2Type" "SVIDEO" # Option "ForceCRT1" # This option can be used to force CRT1 to be switched on (TRUE) or # off (FALSE). It is only used if a video bridge is detected. # If you don't set this option, the driver will automatically detect # if CRT1 is connected or not and use it accordingly. Automatic # detection, however, requires CRT1 to be connected to the computer # at boot time. Older monitors might not be detected at all, so you # will have to set this option to "TRUE" if you want to use such a # monitor on a machine with a video bridge. # Normally, you don't need to set this option. #Option "ForceCRT1" "TRUE" # Since this is the driver section for CRT2, options for adjusting the TV # image (such as TVStandard, CHTVOverscan, etc) should be placed in this # section (and not the Device section for CRT1 below) # Generally: Set as many options as possible in this device section, # not the one for CRT1. CRT2 is initialized first (thus the term # "master head") and its settings rule in many cases over the one # given in the slave device's (CRT1) section. # For dual head mode, BusID has to be specified! Check this using lspci! BusID "PCI:1:00:0" # "Screen" selects the screen number for this device in dual head mode # Screen 0 is master (always CRT2) Screen 0 EndSection # Device section for CRT1 (Slave head) Section "Device" Driver "sis" Identifier "SiS 630-2" # For dual head mode, BusID must be specified! BusID "PCI:1:00:0" # Generally: Set all the options you need in the master # section, not here. See above. # "Screen" selects the screen number for this device in dual head mode # Screen 1 is slave (always CRT1 = external VGA) Screen 0 EndSection # ---------------------------------------------------------- # SCREEN section(s) # ---------------------------------------------------------- # This section defines the available resulutions and depths. # Screen section for CRT2 (LCD/DVI-D, TV, VGA2/DVI-A) Section "Screen" Identifier "Screen2" Device "SiS 630-1" Monitor "CRT2" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "800x600" "640x480" EndSubSection EndSection # Screen section for CRT1 (VGA) # DefaultDepth must be identical to master screen if using Xinerama. # Otherwise, depths can be different. # A depth of 8 is not supported in dual head mode. # Resolutions can be different. Section "Screen" Identifier "Screen1" Device "SiS 630-2" Monitor "CRT1" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" # To enable dual head mode: Screen "Screen1" Screen "Screen2" LeftOf "Screen1" # This enables Xinerama. If you don't set this to "on", startx will spawn # two indepentent X screens. In Xinerama mode, both screens are virtually # one screen. Option "Xinerama" "off" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "USB Mouse" EndSection Section "DRI" Mode 0666 EndSection # end of XF86Config