[ltp] yet an other external monitor question (the same as ever) :)

Stephan Groß linux-thinkpad@linux-thinkpad.org
Thu, 9 Feb 2006 17:27:08 +0100


--Boundary-00=_f126DgDHJesPKoT
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thursday 09 February 2006 17:18, Paul RIVIER wrote:

Hi Paul,

please find attached my xorg.conf. I own a T30 with Ati 7500 (1400x1050). My 
config clones the display to the vga, the only thing I have to do for 
presentations is an xrandr to the projectors resolution. I have tried it 
several times without problems.

Regards,
Stephan.

> my laptop is a T42 with an Ati 9600 (M10) and a internal resolution of
> 1400x1050.
> Very soon I'll have to use it for a slideshow.
> What I would like to do is just to plug the vga and maybe enter a
> "xrandr" command, then get the same thing on both my tp screen and the
> video projector, which undoubtly won't be a 1400x1050 one :). I will not
> have much time to restart X etc etc.
>
> In spite of this is probably THE most basic usage of the dual head, I
> can not figure how to do that. I've looked into my linux-thinkpad
> archive, as well as on google and on my distro forums (it is ubuntu 5.10).
>
> My X version is :  X Window System Version 6.8.2 (Ubuntu 6.8.2-77
> 20051010174523 root@vernadsky.buildd) Release Date: 9 February 2005
>
> I really don't need to extand screens or to do fancy stuffs. I would
> only like to be able to use the mirror mode on time for the slideshow.
>
> Do you have anything to help me, a xorg.conf or a good how-to, any link
>  ... ?
>
> Thank you in advance.
>
>
> Paul

--Boundary-00=_f126DgDHJesPKoT
Content-Type: text/plain;
  charset="iso-8859-1";
  name="xorg.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorg.conf"

# Xorg configuration for espresso
# Last modified: 2005-07-31, SG

Section "ServerLayout"
	Identifier     "Dual head configuration (clone mode)"
	Screen      0  "Screen0" 0 0
	InputDevice    "Trackpoint" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Touchpad" "AlwaysCore"
	InputDevice    "USBMouse" "AlwaysCore"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

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

# SG:	In conjunction with xcompmgr this should enable xcomposite
#	extensions for eye candies like drop shadows and fading effects.
#	Get xcompmgr via CVS:
#	cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xapps login
#	cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/xapps co xcompmgr
#	After succesfully compiling you have to start xcompmgr with
#	"xcompmgr -c -f -F" when X is running.
#	Beginning with version 3.4 KDE ships kompmgr for this task.
#	You should also enable the option RenderAccel in the device section.
#
Section "Extensions"
 	Option "Composite" "Enable"
	Option "RENDER" "Enable"  # should be enabled by default
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "de"
EndSection

Section "InputDevice"
	Identifier  "Trackpoint"
	Driver      "mouse"
	Option	    "Protocol" "PS/2"
	Option	    "Device" "/dev/input/mouse1"
	Option      "EmulateWheel" "yes"
	Option      "EmulateWheelButton" "2"
	Option      "EmulateWheelInertia" "5"
	# The next option is only available with xorg >= 6.8.2
	Option      "EmulateWheelTimeout" "200"
	Option      "YAxisMapping" "4 5"
	Option      "XAxisMapping" "6 7"
	Option	    "Emulate3Buttons" "yes"
	Option      "Emulate3Timeout" "50"
EndSection

Section "InputDevice"
	Identifier  "Touchpad"
	Driver      "synaptics"
	Option      "Protocol" "auto-dev"
	Option      "Device" "/dev/input/mouse0"
	Option      "LeftEdge" "1700"
	Option      "RightEdge" "5400"
	Option      "BottomEdge" "4200"
	Option      "TopEdge" "1700"
	Option      "FingerLow" "25"
	Option      "FingerHigh" "30"
	Option      "MaxTapTime" "180"
	Option      "MaxTapMove" "220"
	Option      "VertScrollDelta" "100"
	Option      "MinSpeed" "0.06"
	Option      "MaxSpeed" "0.12"
	Option      "AccelFactor" "0.0010"
	Option      "SHMConfig" "yes"
	Option      "ZAxisMapping" "4 5"
	Option      "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
        Identifier  "USBMouse"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "off"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "IBM"
	ModelName    "Thinkpad LCD Panel 1400x1050"
	DisplaySize  355	266
	HorizSync    31.5 - 90.0
	VertRefresh  59.0 - 75.0
	Option	     "dpms"
EndSection

#Section "Monitor"
#	Identifier   "Monitor1"
#	VendorName   "LG"
#	ModelName    "Flatron L1810B LCD Panel"
#	HorizSync    30.0 - 80.0
#	VertRefresh  56.0 - 85.0
#	Option       "dpms"
#EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "ATI"
	BoardName   "ATI Radeon Mobility 7500"
	Option      "MonitorLayout" "LVDS,CRT"
	Option      "MergedFB" "yes"
	Option      "CRT2Position" "Clone"
	### TESTING: only effective for xorg >= 7 ?!
	#Option      "CRT2Position" "RightOf"
	Option      "MergedNonRectangular" "yes"
	Option      "BIOSHotkeys" "on"
	### TESTING
	Option      "MetaModes" "1400x1050-1280x1024 1280x1024-1280x1024 1280x1024 1024x768 800x600 640x480"
	Option      "CRT2HSync" "30-80"
	Option      "CRT2VRefresh" "56-85"
	Option      "DynamicClocks" "on"
	Option      "AGPMode" "4"
	Option      "AGPFastWrite" "yes"
	Option      "EnablePageFlip" "yes"
	# With xorg < 6.8.2 RenderAccel must be disabled to prevent font
	# rendering problems in OpenOffice.
	Option      "RenderAccel" "yes"
	Option      "DPMS" "yes"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Viewport  0 0
		#Virtual   1280 1024
		Depth     16
		Modes     "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport  0 0
		#Virtual   1280 1024
		Depth     24
		Modes     "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection


--Boundary-00=_f126DgDHJesPKoT--