########################################################################## # 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 "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" 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 EndSection ########################################################################## # Input devices ########################################################################## # # Keyboard section # Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "250 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "uk" EndSection # # Pointer section # Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/psaux" EndSection Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse0" EndSection Section "InputDevice" Identifier "Mouse3" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/gpmdata" Option "Buttons" "5" EndSection ########################################################################## # Module section ########################################################################## Section "Module" Load "dbe" # Load the glx module. Load "glx" Load "extmod" Load "type1" Load "freetype" EndSection ########################################################################## # Monitor section ########################################################################## Section "Monitor" Identifier "MyMonitor" VendorName "Mitsubisi" ModelName "Diamond Plus 120u" # be sure to replace these values with values appropriate for your # monitor! HorizSync 31-82 VertRefresh 55-120 # 3840x2400 @ 12Hz for IBM's T221 FlatPanel #Modeline "3840x2400" 148.0 3840 3944 4328 4816 2400 2401 2404 2418 EndSection ########################################################################## # Graphics device section(s) ########################################################################## Section "Device" Identifier "Default" VendorName "nvidia" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. The BusID is usually optional when # only using one graphics card. BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Clone" VendorName "nvidia" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. The BusID is usually optional when # only using one graphics card. BusID "PCI:1:0:0" # sample twinview setup Option "TwinView" # be sure to replace the HorizSync and VertRefresh with correct values # for your monitor! Option "SecondMonitorHorizSync" "31-82" Option "SecondMonitorVertRefresh" "55-120" # Option "SecondMonitorHorizSync" "31-42" # Option "SecondMonitorVertRefresh" "20-60" Option "TwinViewOrientation" "Clone" # Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" Option "MetaModes" "1024x768,1024x768" Option "ConnectedMonitor" "crt,crt" EndSection Section "Device" Identifier "Twin" VendorName "nvidia" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. The BusID is usually optional when # only using one graphics card. BusID "PCI:1:0:0" # sample twinview setup Option "TwinView" Option "NoTwinViewXinerama" "true" # be sure to replace the HorizSync and VertRefresh with correct values # for your monitor! Option "SecondMonitorHorizSync" "31-82" Option "SecondMonitorVertRefresh" "55-120" Option "TwinViewOrientation" "RightOf" # Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" Option "MetaModes" "1400x1050,1400x1050 ; 1280x1024,1280x1024; 1024x768,1024x768" Option "ConnectedMonitor" "crt,crt" EndSection ########################################################################## # Screen sections ########################################################################## # # screen section for an nvidia AGP card # Section "Screen" Identifier "Default" Device "Default" Monitor "MyMonitor" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Low" Device "Default" Monitor "MyMonitor" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Twin" Device "Twin" Monitor "MyMonitor" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1400x1050" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1400x1050" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1400x1050" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Clone" Device "Clone" Monitor "MyMonitor" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x400" EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubsection EndSection ########################################################################## # ServerLayout sections # (invoke using the '-layout' option of 'startx'. ########################################################################## Section "ServerLayout" Identifier "Default" Screen "Default" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Low" Screen "Low" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Clone" Screen "Clone" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Twin" Screen "Twin" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection