Example: xorg.conf in Ubuntu 7.04 on a HP nc6320

May 4th, 2007

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This does a resolution of 1400×1050 on laptop LCD, and 1024×768 on s-video.
# You must install 915resolution. If anybody see a way to get the TV resolution better,
# drop me a comment!
#
# 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
#
# File edited by xorg-edit
#
Section “Files”
# path to defoma fonts
FontPath “/usr/share/fonts/X11/misc”
FontPath “/usr/share/fonts/X11/cyrillic”
FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath “/usr/share/fonts/X11/75dpi/:unscaled”
FontPath “/usr/share/fonts/X11/Type1″
FontPath “/usr/share/fonts/X11/100dpi”
FontPath “/usr/share/fonts/X11/75dpi”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection<br />
Section “Module”
Load “i2c”
Load “bitmap”
Load “ddc”
Load “dri”
Load “extmod”
Load “freetype”
Load “glx”
Load “int10″
Load “vbe”
EndSection
#
Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “no”
Option “XkbVariant” “nodeadkeys”
EndSection
#
Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “ZAxisMapping” “4 5″
Option “Emulate3Buttons” “true”
EndSection
#
Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizScrollDelta” “0″
EndSection
#
Section “InputDevice”
Identifier “stylus”
Driver “wacom”
Option “Device” “/dev/input/wacom”
Option “Type” “stylus”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection
#
Section “InputDevice”
Identifier “eraser”
Driver “wacom”
Option “Device” “/dev/input/wacom”
Option “Type” “eraser”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection
#
Section “InputDevice”
Identifier “cursor”
Driver “wacom”
Option “Device” “/dev/input/wacom”
Option “Type” “cursor”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection
#
Section “Device”
Identifier “Intel Corporation Intel Default Card”
Driver “i810″
BusID “PCI:0:2:0″
Videoram 131072
EndSection
#
Section “Device”
Identifier “LCD”
Driver “i810″
BusID “PCI:0:2:0″
Screen 0
Option “MonitorLayout” “TV,LFP”
# Option “Clone” “True”
# VideoRam 131072
EndSection
#
Section “Device”
Identifier “TV”
Driver “i810″
Option “MonitorLayout” “TV+LFP”
Option “TVStandard” “PAL-B”
# Option “TVOutFormat” “COMPOSITE”
Option “ConnectedMonitor” “TV”
Screen 1
BusID “PCI:0:2:0″
EndSection
#
# “COMPOSITE” #
#
Section “Monitor”
Identifier “LCD”
HorizSync 28-70
VertRefresh 43-75
Option “DPMS”
EndSection
#
Section “Monitor”
Identifier “TV”
Option “DPMS”
HorizSync 28-70
VertRefresh 43-100
EndSection
#
Section “Screen”
Identifier “LCD”
Device “LCD”
Monitor “LCD”
DefaultDepth 24
SubSection “Display”
Depth 1
Modes “1400×1050″
EndSubSection
SubSection “Display”
Depth 4
Modes “1400×1050″
EndSubSection
SubSection “Display”
Depth 8
Modes “1400×1050″
EndSubSection
SubSection “Display”
Depth 15
Modes “1400×1050″
EndSubSection
SubSection “Display”
Depth 16
Modes “1400×1050″
EndSubSection
SubSection “Display”
Depth 24
Modes “1400×1050″
EndSubSection
EndSection
#
Section “Screen”
Identifier “TV”
Device “TV”
Monitor “TV”
DefaultDepth 24
SubSection “Display”
Depth 24
#use “1400×1050″ or “1280×800″ for a widescreen
#Modes “1400×1050″ “1280×800″ “1280×1024″ “1024×768″ “800×600″
# use standard resolutions for non-widescreens
Modes “1024×768″ “800×600″
EndSubSection
EndSection
#
Section “ServerLayout”
Identifier “LCDandTV”
Screen “LCD”
Screen “TV” RightOf “LCD”
InputDevice “Configured Mouse”
InputDevice “stylus” “SendCoreEvents”
InputDevice “cursor” “SendCoreEvents”
InputDevice “eraser” “SendCoreEvents”
InputDevice “Synaptics Touchpad”
EndSection
#
Section “ServerFlags”
Option “DefaultServerLayout” “LCDandTV”
EndSection
#
Section “DRI”
Mode 0666
EndSection

Leave a Reply