
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

    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 <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> 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 "Keyboard"
    Driver      "kbd"
    Option "AutoRepeat"  "250 30"

    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,ru(winkeys)"
    Option "XkbOptions"  "grp:caps_toggle"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"
    Identifier "Mouse"
    Driver "mouse"
    Option "Device" "/dev/input/mice"
    Option "CorePointer"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "5"
EndSection

#Section "InputDevice"
#    Identifier "Touchpad"
#    Driver "mouse"
#    Option "Protocol" "PS/2"
#    Option "Device" "/dev/psaux"
#    Option "Emulate3Buttons"
#    Option "SendCoreEvents" "true"
#EndSection

#Section "InputDevice"
#  Identifier  	"Synaptics Mouse"
#  Driver  	"synaptics"
#  Option 	"Device"  	"/dev/psaux"
#  Option	"Protocol"	"auto-dev"
#  Option	"LeftEdge"      "1700"
#  Option	"RightEdge"     "5300"
#  Option	"TopEdge"       "1700"
#  Option	"BottomEdge"    "4200"
#  Option	"FingerLow"	"25"
#  Option	"FingerHigh"	"30"
#  Option	"MaxTapTime"	"180"
#  Option	"MaxTapMove"	"220"
#  Option	"VertScrollDelta" "100"
#  Option	"MinSpeed"	"0.06"
#  Option	"MaxSpeed"	"0.12"
#  Option	"AccelFactor" "0.0010"
#  Option	"SHMConfig"	"on"
#  Option	"Repeater"	"/dev/ps2mouse"
#EndSection


Section "Module"

# This loads the DBE extension module.

    Load	"dbe"
    Load	"glx"

# This loads the Video for Linux module.
#    Load        "v4l"

# This loads the NVIDIA GLX extension module.
# IT IS IMPORTANT TO KEEP NAME AS FULL PATH TO libglx.so ELSE
# IT WILL LOAD XFree86 glx module and the server will crash.

#DK:    Load        "glx"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    SubSection	"extmod"
    #Option	"omit xfree86-dga"
    EndSubSection
# This loads the Type1 and FreeType font modules
    Load	"type1"
    Load	"freetype"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "Toshiba LCD Monitor"
    VendorName "Unknown"
    ModelName  "Unknown"
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
	# Modeline "1024x768"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync -Vsync #60Hz
    # Modeline "1024x768"  76.16  1024 1080 1192 1360  768 769 772 800  -HSync -Vsync #70Hz
    Modeline "1024x768"  81.80  1024 1080 1192 1360  768 769 772 802  -HSync -Vsync #75Hz
   
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "NV AGP"
    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"
    Option      "IgnoreEDID"   "true"
	Option		"UseEdidFreq"  "true"
   	Option		"NVreg_Mobile" "2"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier "Default"
    Device      "NV AGP"
    Monitor     "Toshiba LCD Monitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"# "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen     "Default"
    InputDevice "Mouse"
    InputDevice "Keyboard"
EndSection
