########################################################################## # Sample XF86Config file for NVIDIA XFree86 drivers. # # Refer to the XF86Config(4/5) man page for details about the format of # this file. # # Be sure to replace the monitor values with correct values for your # monitor! ########################################################################## Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:-1" EndSection ########################################################################## # Server flags section. ########################################################################## Section "ServerFlags" # Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging #NoTrapSignals # Uncomment this to disable the server abort sequence # This allows clients to receive this key event. #DontZap # Uncomment this to disable the / mode switching # sequences. This allows clients to receive these key events. #DontZoom # This allows the server to start up even if the # mouse device can't be opened/initialised. AllowMouseOpenFail Option "Xinerama" "off" EndSection ########################################################################## # Input devices ########################################################################## # # Keyboard section # Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "ru" Option "XkbVariant" "winkeys" Option "XkbOptions" "grp:ctrl_shift_toggle" EndSection # # Pointer section # Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" EndSection ########################################################################## # Module section ########################################################################## Section "Module" Load "dbe" # Load the glx module. Load "/usr/X11R6/lib/modules/extensions/libglx.so" SubSection "extmod" #Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" EndSection ########################################################################## # Monitor section ########################################################################## Section "Monitor" Identifier "Daewoo 1509B" VendorName "Daewoo" ModelName "Unknown" # be sure to replace these values with values appropriate for your # monitor! HorizSync 30.0-69.0 VertRefresh 50.0-120.0 #ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync #ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 #ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Monitor" Identifier "Philips" VendorName "Philips" ModelName "Unknown" HorizSync 30.0-50.0 VertRefresh 60.0 EndSection ########################################################################## # Graphics device section(s) ########################################################################## Section "Device" Identifier "NV" VendorName "Manli" BoardName "Unknown" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. BusID "PCI:1:0:0" Option "DPMS" "on" Option "NvAGP" "1" Option "CursorShadow" "on" Option "TwinView" "on" Option "TwinViewOrientation" "Clone" Option "SecondMonitorHorizSync" "30-50" Option "SecondMonitorVertRefresh" "60" Option "MetaModes" "1024x768,640x480 @1024x768; 800x600,640x480 @800x600; 640x480,640x480" Option "TVStandard" "PAL-I" Option "TVOutFormat" "COMPOSITE" EndSection # Option "MetaModes" "1024x768,800x600 @1024x768; 800x600,800x600; 640x480,640x480" Section "Device" Identifier "NV0" VendorName "Manli" BoardName "Unknown" Driver "nvidia" BusID "PCI:1:0:0" Option "DPMS" "on" Option "NvAGP" "1" Option "CursorShadow" "on" Screen 0 EndSection Section "Device" Identifier "NV1" VendorName "Manli" BoardName "Unknown" Driver "nvidia" BusID "PCI:1:0:0" Option "DPMS" "off" Option "NvAGP" "1" Option "CursorShadow" "on" Screen 1 EndSection Section "Device" Identifier "NV3" VendorName "Manli" BoardName "Unknown" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. BusID "PCI:1:0:0" Option "DPMS" "on" Option "NvAGP" "1" Option "CursorShadow" "on" Option "TwinView" "on" Option "TwinViewOrientation" "RightOf" Option "SecondMonitorHorizSync" "30-50" Option "SecondMonitorVertRefresh" "60" Option "MetaModes" "1024x768,800x600 @1024x768; 800x600,800x600; 640x480,640x480" Option "TVStandard" "PAL-I" Option "TVOutFormat" "COMPOSITE" EndSection ########################################################################## # Screen sections ########################################################################## Section "Screen" Identifier "Screen NV" Device "NV" Monitor "Daewoo 1509B" DefaultColorDepth 24 Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "Screen NV0" Device "NV0" Monitor "Daewoo 1509B" DefaultColorDepth 24 Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "Screen NV1" Device "NV1" Monitor "Philips" Option "TVStandard" "PAL-I" Option "TVOutFormat" "COMPOSITE" Option "ConnectedMonitor" "TV" DefaultColorDepth 24 Subsection "Display" Depth 24 Modes "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "Screen NV3" Device "NV3" Monitor "Daewoo 1509B" DefaultColorDepth 24 Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection ########################################################################## # ServerLayout sections # (invoke using the '-layout' option of 'startx'. ########################################################################## # # MULTIPLE X SCREENS ON ONE CARD # Section "ServerLayout" Identifier "scr" Screen 0 "Screen NV0" Screen 1 "Screen NV1" rightOf "Screen NV0" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # # just one agp twinview card # Section "ServerLayout" Identifier "clone" Screen "Screen NV" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # # just one agp twinview card # Section "ServerLayout" Identifier "right" Screen "Screen NV3" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection