Span across two monitors (dual monitors)

See if your system can use xrandr by issuing the command

$ xrandr -v

Find your screens with the command

$ xrandr -q

Substitute whatever comes out of xrandr -q where it says XXX connected. My XXX was DVI-0 and DVI-1. When we turn one of them off, you'll see which is which. Just run the next command of cloning to turn them both back on.

Clone your screens

$  xrandr --output DVI-0 --auto --output DVI-1 --auto --same-as DVI-0

Turn the second monitor off (One on right)

$  xrandr  --output DVI-1 --off

Make sure you have setup the Virtual width of your monitors

I have 2 1280x1024 monitors. That means my virtual resolution is 2560x1024. You'll want to add that to your /etc/X11/xorg.conf file.

Just add it in the section that looks like mine as follows. It's the line with Virtual 2560 1024.

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc RV380 [Radeon X600 (PCIE)]"
	Monitor		"DELL 1907FP"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
		Virtual		2560 1024
	EndSubSection
EndSection

Download » my entire xorg.conf file to see what else is going on.

I'm also running on a Dell Optiplex GX620 with a PCI card that splits my ATI Radeon into to DVI monitors. I have some funky DVI Y splitter adapter thing. I don't know what it is, but I can explain it more if you like. My email is in the footer of this page.

Turn back on your right monitor with spanning enabled.

$ xrandr --output DVI-1 --auto --right-of DVI-0

That's it, none of that fancy MergeFB or TwinView or Xinerama ... etc. You may however have to issue those commands if you logout or reboot, I'm not sure. I'm definitely not sure how to make it happen by default. You may be able to create a startup item that runs those xrandr commands for you, but I haven't had the time to do that yet. Maybe later...

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.