Thanks for visiting my blog - I have now moved to a new location at Nature Networks. Url: http://blogs.nature.com/fejes - Please come visit my blog there.

Saturday, December 2, 2006

xorg.conf

  I've been doing some serious computer re-installs over the past couple of days. I was very unhappy with my computer - which all started when I discovered I couldn't play Yahoo games in Firefox. Ironically, I still can't. The Java Runtime plugin just isn't working.

  Anyhow, The biggest hassle is always rebuilding my xorg.conf file, which is somewhat complex - I use a dual head video card (Evga Nvidia GeForce 7600 GT) with two different monitors (CRT Panasonic S17 at 1024x768, and an LCD ViewSonic VX924 at 1280x1024), along with the closed source Nvidia drivers, but not in Twinview. In any case, for posterity sake, here's my configured xorg.conf -I hope someone else finds this useful.



Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" leftof "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
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 "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

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


Section "Monitor"
Identifier "Panasonic"
HorizSync 30.0 - 69.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "ViewSonic"
HorizSync 30.0-82.0
VertRefresh 50.0-75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Head0"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0

EndSection

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Head1"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
EndSection


Section "Screen"
Identifier "Screen0"
Device "NVIDIA Corporation NVIDIA Head0"
Monitor "Panasonic"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection


Section "Screen"
Identifier "Screen1"
Device "NVIDIA Corporation NVIDIA Head1"
Monitor "ViewSonic"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection


0 Comments:

Post a Comment

<< Home