All pastes #88663 Raw Edit

Something

public text v1 · immutable
·published 2006-07-15 06:39 UTC
rendered paste body

# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.


Section "Module"
    Load        "dbe"
    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load       "glx"
    Load       "dri"
EndSection

Section "Files"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods) 

    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"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
# The module search path.  The default path is shown here.
EndSection

Section "ServerFlags"

    
#    Option "DisableVidModeExtension"
    Option "RenderAccel" "true"
    Option "XvmcUsesTextures" "on"
EndSection

Section "Extensions"
    Option "Composite" "true"
EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"

EndSection


Section "InputDevice"
    Identifier	"Touchpad"
    Driver	"synaptics"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mouse0"
    Option "ZAxisMapping"   "4 5 6 7"
    Option "VertScrollDelta" "100"
    Option "HorizScrollDelta" "250"
    Option "SHMConfig" "true"
    Option "RightEdge" "5100"
    Option "LBCornerButton" "6"
    Option "RBCornerButton" "7"
    Option "LTCornerButton" "1"
    Option "RTCornerButton" "1"
EndSection


Section "InputDevice" 
    Identifier  "USBmouse"
    Driver      "mouse"
    Option      "Protocol" "ExplorerPS/2"
    Option      "Device" "/dev/input/mouse1"
EndSection


Section "Modes"
    Identifier "16:10"
    ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
EndSection

Section "Monitor"
    Identifier  "Laptop LCD"
    HorizSync   31.5 - 90.0
    #HorizSync 60-60
    VertRefresh 60-60
    Option "DPMS"
    UseModes "16:10"
EndSection


Section "Device"
    Identifier  "nVidia GeForce Go7400 256mb"
    Driver      "nvidia"
    VideoRam    262144
    Option	"AllowGLXWithComposite"
    Option	"backingstore" "true"
EndSection


Section "Screen"
    Identifier  "Laptop Screen"
    Device      "nVidia GeForce Go 7400 256mb"
    Monitor     "Laptop LCD"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x800"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"

    Identifier  "Default Layout"
    Screen "Laptop Screen"
    InputDevice "Touchpad" "CorePointer"
    InputDevice "USBMouse" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "StandbyTime" "10"

EndSection