XFree86 Config Files for TwinView

Met @ Uber met at uberstats.com
Sun Feb 8 22:18:53 UTC 2004


So I've basically gotten everything working so that my laptop can use an
external monitor.  In fact, it works almost perfectly.

I set up a "Screen" section that holds the information about the project
I'm using (external monitor) and setup options to hold the information
about my laptop's monitor.  When I "startx" the display comes up perfect
on the laptop and a bit too small on the project (Approximately 15% too
small).

The odd part is that if I remove the twinview data (which holds my
laptop's info) from the "Screen Section" the project displays perfectly,
and my laptop's monitor is then about 60% too small.

I've attached my XF86Config file.  Any help would be appreciated, as
this is pretty hard to debug.

~ Matthew
-------------- next part --------------
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
	Identifier     "AGP"
	Screen         "dell_screen" 0 0
	InputDevice    "mouse_0" "CorePointer"
	InputDevice    "mouse_1" "SendCoreEvents"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
	FontPath     "unix/:7100"
	FontPath     "/usr/lib/X11/fonts/100dpi"
	FontPath     "/usr/lib/X11/fonts/75dpi"
	FontPath     "/usr/lib/X11/fonts/Type1"
EndSection

Section "Module"
	Load  "dbe"
	Load  "glx"
	Load  "extmod"
	Load  "type1"
	Load  "freetype"
EndSection

Section "ServerFlags"
	Option	    "allowmouseopenfail"
EndSection

# XkbModel = inspiron (allows for multimedia keys) instead of pc105
Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "Keyboard"
	Option	    "AutoRepeat" "250 30"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "inspiron"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "mouse_0"
	Driver      "mouse"
	Option	    "Device" "/dev/mouse"
	Option	    "Protocol" "PS/2"
	Option	    "Emulate3Buttons" "yes"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier  "mouse_1"
	Driver      "mouse"

	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "Emulate3Buttons" "yes"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Device"
	Identifier  "nv_device_1"
	Driver      "nvidia"
	VendorName  "nvidia"
	BoardName   "NVIDIA GeForce 4 GO"
	VideoRam    65536
	BusID       "PCI:1:0:0"

	Option	    "NoLogo" "1"
	Option	    "NvAGP" "0"
EndSection

Section "Monitor"
	Identifier   "dell_monitor"
	VendorName   "Mitsubisi"
	ModelName    "Dell 1600x1200 Laptop Display Panel"
	HorizSync    31.5 - 90.0
	VertRefresh  59.0 - 85.0

	Option	     "DPMS"
EndSection

Section "Monitor"
	Identifier   "link_monitor"
	VendorName   "3M"
	ModelName    "3M MP8745"
	HorizSync    56.4
	VertRefresh  70
	Option	     "DPMS"
EndSection

Section "Screen"
	Identifier "dell_screen"
	Device     "nv_device_1"
	Monitor    "dell_monitor"
	DefaultDepth     24

	SubSection "Display"
		Depth     24
		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400"
	EndSubSection
EndSection

Section "Screen"
	Identifier "link_screen"
	Device     "nv_device_1"
	Monitor    "link_monitor"
	DefaultDepth     24

	Option    "TwinView"
	Option    "TwinViewOrientation" "Clone"
	Option    "SecondMonitorHorizSync" "31.5 - 90.0"
	Option    "SecondMonitorVertRefresh" "59.0 - 85.0"
	Option    "ConnectedMonitor" "CRT, CRT"

	SubSection "Display"
		Depth     24
		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400"
	EndSubSection
EndSection


More information about the fedora-list mailing list