Home arrow Tutorials arrow xorg.conf
xorg.conf Print E-mail

My xorg.conf configuration for Ubuntu Feisty.  Pretty well commented version of my xorg.conf file. 
This also works in Ubuntu Dapper

Options Enabled
Dual Monitors 
OpenGL
Direct Rendering 

 

 

#copy and paste the below text to your xorg.conf file DON'T FORGET TO BACK YOURS UP FIRST!!
# To back your's up type this in terminal
# sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.myBackup
# if someting goes wrong type:
 # sudo cp /etc/X11/xorg.conf.myBackup /etc/X11/xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
#    InputDevice    "stylus" "SendCoreEvents"
#    InputDevice    "cursor" "SendCoreEvents"
#    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath     "/usr/share/X11/fonts/misc"
    FontPath     "/usr/share/X11/fonts/cyrillic"
    FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/Type1"
    FontPath     "/usr/share/X11/fonts/100dpi"
    FontPath     "/usr/share/X11/fonts/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

#Section "Module"
#    Load  "bitmap"
#    Load  "ddc"
#    Load  "dri"
#    Load  "extmod"
#    Load  "freetype"
#    Load  "glx"
#    Load  "int10"
#    Load  "type1"
#    Load  "vbe"
#EndSection

# snovak : changed

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc104"
    Option        "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ExplorerPS/2"
    Option      "ZAxisMapping" "4 5"
    Option      "ButtonMapping" "1 2 3 6 7"
    Option      "Emulate3Buttons" "true"
EndSection

#Section "InputDevice"
#
#                                                      # /dev/input/event
#                                                      # for USB
#    Identifier  "stylus"
#    Driver      "wacom"
#    Option        "Device" "/dev/wacom"          # Change to
#    Option        "Type" "stylus"
#    Option        "ForceDevice" "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
#
#                                                      # /dev/input/event
#                                                      # for USB
#    Identifier  "eraser"
#    Driver      "wacom"
#    Option        "Device" "/dev/wacom"          # Change to
#    Option        "Type" "eraser"
#    Option        "ForceDevice" "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
#
#                                                      # /dev/input/event
#                                                      # for USB
#    Identifier  "cursor"
#    Driver      "wacom"
#    Option        "Device" "/dev/wacom"          # Change to
#    Option        "Type" "cursor"
#    Option        "ForceDevice" "ISDV4"               # Tablet PC ONLY
#EndSection

Section "Monitor"
    Identifier   "DELL 1702FP"
    Option        "DPMS"
EndSection

Section "Device"
    Identifier  "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
    Driver      "fglrx"
    Option        "UseFBDev" "true"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"  #turn off if Blender didn't work
    BusID       "PCI:1:0:0"
    Option        "DesktopSetup"  "horizontal" #Enable Big Desktop
    Option      "Mode2"         "1280x1024" #Resolution for second monitor
    Option      "DesktopSetup" "LVDS,AUTO" #the types of monitors that is connected LVDS = LCD, CRT, AUTO
    Option      "EnablePrivateBackZ" "no" #Enable 3d support <= May Not Work
    Option      "HSync2" "65" #This sets the horizontal sync for the secondary display.
    Option      "VRefresh2" "60" #This sets the refresh rate of the secondary display.
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
    Monitor    "DELL 1702FP"
    DefaultDepth     24
    SubSection "Display"
        Depth     1
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
# snovak : added
    Group        0
EndSection


# snovak: added
Section "Extensions"
        Option      "Composite" "False"
EndSection

# trouble?  run these to diagnose
# cat /var/log/Xorg.0.log |grep WW
# glxinfo

 
< Prev   Next >
Copyright © Sean Novak 2006
 

Main Menu
Home
Animation
Resume
Web Development
Tutorials
Press
Site Updates
News Feeds
Links
Contact
Ticker Farmer
My Blog
Sponsored Links
JoomlaWatch Stats 1.2.0


Instant Message: thesightsmith