xrandr

Russell Shaw rjshaw at netspace.net.au
Mon Aug 18 22:46:30 PDT 2008


Hi,
In xorg.conf, i have: Option "PreferredMode"  "1920x1200"


It won't work. Xorg starts with a lower resolution.


I had to add this mode beforehand with: xrandr --addmode 1920x1200
but the "PreferredMode"  "1920x1200" in xorg.conf still doesn't work.


If i do: xrandr --output DVI-0 --mode 1920x1200
from within X, then the monitor gets set correctly, but the icewm taskbar
moves to the right monitor (of a dual setup).




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