RightOf, LeftOf, etc...

Status
Not open for further replies.

The General

Banned
Messages
5,191
Okay I am just wondering if it's possible to have my monitors "connected" at the bottom right or top right corner instead of the whole side ... because it's really annoying having my mouse cursor disappeaer into a TV that I don't even have on... Here's my xorg.conf:
Code:
Section "ServerLayout"
	Identifier	"Layout0"
	Screen	      0 "Screen0"
	Screen	      1 "Screen1" Above "Screen0"
	InputDevice	"Keyboard0" "CoreKeyboard"
	InputDevice	"Mouse0" "CorePointer"
	Option		"AIGLX" "True"
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	#path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	RgbPath		"/usr/X11R6/lib/X11/rgb"
	FontPath	"unix/:7100"
EndSection

Section "Module"
	Load	"dbe"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZaxisMapping" 		"4 5"
	Option		"Emulate3Buttons"	"false"
EndSection

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

Section "Monitor"
	Identifier     "Monitor0"
	Option         "DPMS"
EndSection

Section "Device"
	Identifier	"Device0"
	Driver		"nvidia"
	VendorName	"NVIDIA Corporation"
	BoardName	"GeForce 7900 GT"
	BusID		"PCI:1:0:0"
	Option		"RenderAccel"           "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"AddARGBGLXVisuals"	"True"
	Screen		0
EndSection

Section "Device"
	Identifier	"Device1"
	Driver		"nvidia"
	VendorName	"NVIDIA Corporation"
	BoardName	"GeForce 7900 GT"
	BusID		"PCI:1:0:0"
	Option		"RenderAccel"           "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"AddARGBGLXVisuals"	"True"
	Screen		1
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Device0"
	Monitor		"Monitor0"
	DefaultDepth	24
	Option		"UseEdidFreqs"		"True"
	Option		"TwinView"		"False"
	SubSection	"Display"
		Depth		24
		Modes		"1680x1050"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"Device1"
	Monitor		"Monitor0"
	DefaultDepth	24
	Option		"UseEdidFreqs"		"True"
	Option		"TwinView"		"False"
	SubSection	"Display"
		Depth		24
        	Modes		"1920x1080"
	EndSubSection
EndSection

Section "Extensions"
	Option		"Composite"		"True"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
I did a quick Google search and first found this
TwinViewOrientation

This option controls the positioning of the second display device relative to the first within the virtual X screen, when offsets are not explicitly given in the MetaModes. The possible values are:

"RightOf" (the default)
"LeftOf"
"Above"
"Below"
"Clone"
so then I googled again based on a few key words and found this:
MetaModes
- This option sets up what mode(s) should be used on each monitor. The nVidia driver will create the minimal bounding box of the Metamode. The individual monitors modes will not be communicated. The modes must be given in pairs seperated by semi-colons.

Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"

You can specify NULL as the mode (or leave it blank), if you wish one monitor not to be active in a MetaMode. You can optionally specify an offset after the mode.

Option "MetaModes" "1600x1200, NULL; NULL, 1024x768"
Option "MetaModes" "1600x1200; , 1024x768"

Offset descriptions follow the conventions of the X "-geometry" commandline option. Both positive and negative offsets are valid, although negative offsets are only allowed when a virtual screen size is set explicitly in the X-config file.

Option "MetaModes" "1600x1200 +0+0, 1024x768 +1600+0;"

When no offsets are give for a MetaMode, it will be calculated automatically based on the value of the TwinViewOrientation option. If the virtual screen size is not specified in your X-config file, it will be computed from the size of the bounding box of the MetaModes. You can also optionally add a "Panning Domain" specification.

Option "MetaModes" "1024x768 @1600x1200, 800x600 @1600x1200;"

The panning domain is the area which will be able to be panned to by moving your mouse to the edge of the screen. The most useful use of panning domains is to remove dead areas which are generated by moitors running at different resolutions.

Option "MetaModes" "1600x1200, 1024x768 @1024x1200"
Option "MetaModes" "1600x1200 @1900x1200 +0+0, 1024x768 @1900x768 +0+1200"
It is rather confusing and I don't quite get it myself, but I hope that helps some.
 
Okay, with metamodes I was able to get what I wanted, but it also changed some things that I didn't like. It stretched the wallpaper and stuff, anyway, what would make it a lot better is if I could just disable the second monitor without restarting X. Anyone know how to do this?
 
Status
Not open for further replies.
Back
Top Bottom