Skip to content

Instantly share code, notes, and snippets.

@nachof
Created January 20, 2009 20:04
Show Gist options
  • Save nachof/49634 to your computer and use it in GitHub Desktop.
Save nachof/49634 to your computer and use it in GitHub Desktop.
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# 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 "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "false"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "v4l" # Video for Linux
Load "type1"
Load "freetype"
Load "dbe" # Double-Buffering Extension
Load "extmod"
Load "glx" # 3D layer
Load "dri" # direct rendering
#Disable "dbe" # Double-Buffering Extension
#Disable "extmod"
#Disable "glx" # 3D layer
#Disable "dri" # direct rendering
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mousewireless"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mouse2"
Option "SendCoreEvents" "true"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 76 Hz"
HorizSync 30-98
VertRefresh 50-160
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "Intel Corp."
BoardName "Intel 845"
Driver "i810"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mousewireless" "SendCoreEvents"
Screen "screen1"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment