All pastes #991181 Raw Edit

Someone

public text v1 · immutable
#991181 ·published 2008-04-20 19:53 UTC
rendered paste body
# $XdotOrg: xc/programs/Xserver/hw/xfree87/xorgconf.cpp,v 1.2 2004/04/23 19:20:02 eich Exp $
#
# Copyright (c) 1994-1998 by The XFree86 Project, Inc.
#
# 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 XFREE86 PROJECT 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 XFree86 Project 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
# XFree86 Project.
#
# $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $

Section "Files"
    RgbPath	"/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load	"dbe"

    SubSection	"extmod"
	Option	"omit xfree86-dga"
    EndSubSection

    Load	"type1"
    Load	"freetype"

    Load	"glx"
    Load	"synaptics"
EndSection

Section "ServerFlags"
#    Option	"DontVTSwitch"
#    Option	"DontZap"
    Option	"DontZoom"
    Option	"blank time"	"10"	# 10 minutes
    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option	"AutoRepeat"	"500 5"
#    Option	"XkbModel"	"pc101"
# If you have a US "windows" keyboard you will want:
#    Option	"XkbModel"	"pc104"

#    Option	"XkbLayout"	"us"
#    Option	"XkbVariant"	""
#    Option	"XkbOptions"	""
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"

    Option	"Protocol"	"Auto"
    Option	"Device"	"/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "130"
    Option "RightEdge" "840"
    Option "TopEdge" "130"
    Option "BottomEdge" "640"
    Option "FingerLow" "7"
    Option "FingerHigh" "8"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "110"
    Option "EmulateMidButtonTime" "75"
    Option "VertScrollDelta" "20"
    Option "HorizScrollDelta" "20"
    Option "MinSpeed" "0.3"
    Option "MaxSpeed" "0.75"
    Option "AccelFactor" "0.015"
    Option "EdgeMotionMinSpeed" "200"
    Option "EdgeMotionMaxSpeed" "200"
    Option "UpDownScrolling" "1"
    Option "CircularScrolling" "1"
    Option "CircScrollDelta" "0.1"
    Option "CircScrollTrigger" "8"
    Option "SHMConfig" "on"
    Option "Emulate3Buttons" "on"
EndSection

Section "InputDevice"
	Driver        "wacom"
	Identifier    "cursor"
	Option        "Device"        "/dev/ttyS0"
	Option        "ForceDevice"   "ISDV4"
	Option        "Type"          "cursor"
	Option        "Mode"          "absolute"
	Option        "Speed"         "3.0"
	Option        "Threshold"     "2"
	Option        "Tilt"          "on"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection

Section "InputDevice"
	Driver        "wacom"
	Identifier    "stylus"
	Option        "Device"        "/dev/ttyS0"
	Option        "Type"          "stylus"
	Option        "ForceDevice"   "ISDV4"
	Option        "Mode"          "absolute"
	Option        "Tilt"          "on"
	#Option        "TiltInvert"    "on"
	Option        "Threshold"     "2"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection


Section "InputDevice"
	Driver        "wacom"
	Identifier    "eraser"
	Option        "Device"        "/dev/ttyS0"
	Option        "ForceDevice"   "ISDV4"
	Option        "Type"          "eraser"
	Option        "Mode"          "absolute"
	Option        "Tilt"          "on"
	#Option        "TiltInvert"    "on"
	Option        "Threshold"     "2"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection

Section "Monitor"
    Identifier	"Generic Monitor"
    Option	"dpms"
EndSection

# 0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [Geforce Go 6600TE/6200TE] (rev a2)
Section "Device"
    Identifier  "nvidia"
    VendorName  "nvidia"
    Driver   "nvidia"

    Option	    "NoLogo"
    Option	    "ConnectedMonitor"	    "DFP"
    Option	    "HWcursor"
    Option	    "RenderAccel"
    Option	    "NoBandWidthTest"
    Option	    "RandRRotation"
EndSection

Section "Screen"
    Identifier	"Screen 1"
    Device	"nvidia"
    Monitor	"Generic Monitor"

    DefaultDepth 24

    SubSection "Display"
        Depth		24
        Modes		"1400x1050"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier	"simple layout"
    Screen	"Screen 1"
    InputDevice	"Mouse0" "AlwaysCore"
    InputDevice	"Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
EndSection