# File: xorg.conf
# "Klippt och klistrat" av Håkan från lite olika config-filer.
# **********************************************************************
Section "ServerLayout"
# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
#InputDevice "Mouse1" "CorePointer"
#InputDevice "TouchPad" "AlwaysCore"
Identifier "Server Layout"
Screen "Screen0" 0 0
Screen "aticonfig Screen 1" Above "Screen0"
InputDevice "Alps Glidepoint" "SendCoreEvents"
InputDevice "USB Mouse" "Corepointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
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/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a
# Laddar "Synaptik"
Load "synaptics"
EndSection
Section "InputDevice"
# For most OSs the protocol can be omitted (it defaults to "Standard")
Identifier "Keyboard1"
Driver "kbd"
Option "Protocol" "Standard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection
Section "InputDevice"
Identifier "Alps Glidepoint"
Driver "synaptics"
#Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
#Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "600"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "MaxDoubleTapTime" "180"
Option "ClickTime" "100"
Option "FastTaps" "1"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "10"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.2"
Option "MaxSpeed" "2.5"
Option "AccelFactor" "0.06"
Option "EdgeMotionMinZ" "30"
Option "EdgeMotionMaxZ" "160"
Option "EdgeMotionMinSpeed" "15"
Option "EdgeMotionMaxSpeed" "15"
Option "EdgeMotionUseAlways" "0"
Option "UpDownScrolling" "1"
Option "LeftRightScrolling" "1"
Option "TouchpadOff" "1"
Option "GuestMouseOff" "1"
Option "LockedDrags" "1"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "2"
Option "LBCornerButton" "2"
Option "TapButton1" "1"
Option "TapButton2" "1"
Option "TapButton3" "3"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0.08"
Option "CircScrollTrigger" "0"
Option "CircularPad" "0"
Option "PalmDetect" "1"
Option "PalmMinWidth" "10"
Option "PalmMinZ" "200"
Option "CoastingSpeed" "0"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Modes"
Identifier "Modes0"
ModeLine "1440x900" 132.7 1440 1536 1688 1936 900 901 904 939
ModeLine "1440x900" 112.9 1440 1528 1680 1920 900 901 904 933
ModeLine "1280x800" 104.3 1280 1360 1496 1712 800 801 804 835
ModeLine "1280x800" 88.7 1280 1352 1488 1696 800 801 804 830
ModeLine "1152x864" 102.1 1152 1224 1352 1552 864 865 868 901
ModeLine "1152x864" 86.7 1152 1224 1344 1536 864 865 868 896
ModeLine "1280x768" 99.2 1280 1352 1488 1696 768 769 772 801
ModeLine "1280x768" 84.3 1280 1344 1480 1680 768 769 772 797
ModeLine "1024x768" 79.5 1024 1080 1192 1360 768 769 772 801
ModeLine "1024x768" 67.5 1024 1080 1184 1344 768 769 772 797
ModeLine "800x600" 47.5 800 840 920 1040 600 601 604 626
ModeLine "800x600" 40.2 800 832 912 1024 600 601 604 623
ModeLine "768x576" 43.5 768 800 880 992 576 577 580 601
ModeLine "768x576" 37.4 768 800 880 992 576 577 580 598
ModeLine "640x480" 29.8 640 664 728 816 480 481 484 501
ModeLine "640x480" 25.1 640 656 720 800 480 481 484 498
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "DELL"
ModelName "1400X LAPTOP DISPLAY PANEL"
UseModes "Modes0"
DisplaySize 370 230
HorizSync 31.0 - 90.0
VertRefresh 59.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "aticonfig Monitor 1"
EndSection
Section "Device"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
# vendor=1002, device=5460
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "(null)"
Option "ScreenOverlap" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
# === TV-out Management ===
Option "TVFormat" "PAL-B"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
Option "OpenGLOverlay" "on"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter 1"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
#Option "backingstore"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig Screen 1"
Device "ATI Graphics Adapter 1"
Monitor "aticonfig Monitor 1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
EndSection