Primary monitor of dual setup

Russell Shaw rjshaw at netspace.net.au
Mon Aug 18 21:35:56 PDT 2008


Hi,
I used xrandr to set up two monitors with one desktop stretched between them.

The window manager taskbar (icewm) appears on the right-hand monitor.

How do i make the left-hand monitor the primary one?



Section "ServerLayout"
     Identifier	    "dualhead"
     Screen	    "ScreenDell"
     InputDevice	    "MS Wheel Mouse" "CorePointer"
     InputDevice	    "Keyboard_101" "CoreKeyboard"
EndSection

Section "Files"
     ...
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
	Load  "dri"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier	"Keyboard_101"
	Driver		"kbd"
	Option          "XkbRules"      "xorg"
	Option          "XkbModel"      "pc104"
	Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
	Identifier  "MS Wheel Mouse"
	Driver	    "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/gpmdata"
	Option	    "CorePointer"
EndSection

Section "Monitor"
	Identifier	"DellFP"
	VendorName	"Dell"
	ModelName	"2407WFP-HC"
	Option		"DPMS"
	Option		"LeftOf"  "VGA-0"
	Option		"PreferredMode"  "1920x1200"
	Option		"Position" "0 0"
EndSection

Section "Monitor"
	Identifier	"Diamond"
	VendorName	"Mitsubishi"
	ModelName	"Diamond View DV175"
	Option		"DPMS"
	Option		"PreferredMode"  "1280x1024"
	Option		"Position" "1920 0"
	Option		"RightOf"  "DVI-0"
EndSection


Section "Device"
	Identifier  "Card0"
	Option      "monitor-VGA-0" "Diamond"
	Option      "monitor-DVI-0" "DellFP"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV280 [Radeon 9200 SE]"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
     Identifier	    "ScreenDell"
     Device	    "Card0"

     Monitor	    "DellFP"
     DefaultDepth    24

     SubSection "Display"
     Depth	    24
     Modes	    "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
     Virtual         3200 1200
     EndSubSection
EndSection





More information about the xorg mailing list