public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Changing primary monitor on dual-monitor X.org setup
@ 2007-06-06 16:42 Aleksey Kunitskiy
  2007-06-06 16:54 ` Dan Farrell
  0 siblings, 1 reply; 8+ messages in thread
From: Aleksey Kunitskiy @ 2007-06-06 16:42 UTC (permalink / raw
  To: gentoo-user

Hi Gentoo community,

I'm new to dual-monitor setups and I have one question to you:
I have Geforce 7950GT graphics card with two independent DVI-I outputs and two 
monitors connected to each DVI out. I configured X.org to use two screens 
separate on these two monitors.
Question: How can I interchange screens between those two monitors? I've 
primary screen always on "first" DVI-out and I want to change it(I want the 
primary screen to be on "second" DVI-out)

Here is my xorg.conf:

/*******************/
Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/terminus"
	FontPath	"/usr/share/fonts/corefonts"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	"XkbRules"	"xorg"
	Option	"XkbModel"	"pc105"
	Option	"XkbLayout"	"us,ru(winkeys)"
	Option	"XkbOptions"	"grp:caps_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Samsung"
	ModelName    "SyncMaster 971P"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Samsung"
	ModelName    "SyncMaster 971P"
EndSection


Section "Device"
	Identifier  "Card1"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "ASUS EN7950GT"
	Option	"RenderAccel"	"true"
	BusID       "PCI:1:0:0"
	Screen	0
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "ASUS EN7950GT"
	Option	"RenderAccel"	"true"
	BusID       "PCI:1:0:0"
	Screen	1
EndSection


Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Layout 1"
	Screen	0 "Screen0" 0 0
	Screen	1 "Screen1" LeftOf "Screen0"
	InputDevice	"Keyboard0"	"CoreKeyboard"
	InputDevice	"Mouse0"	"CorePointer"
EndSection
/*******************/

-- 
best regards,
Aleksey V. Kunitskiy
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 16:42 [gentoo-user] Changing primary monitor on dual-monitor X.org setup Aleksey Kunitskiy
@ 2007-06-06 16:54 ` Dan Farrell
  2007-06-06 17:28   ` Aleksey Kunitskiy
  2007-06-06 18:10   ` Boyd Stephen Smith Jr.
  0 siblings, 2 replies; 8+ messages in thread
From: Dan Farrell @ 2007-06-06 16:54 UTC (permalink / raw
  To: gentoo-user

On Wed, 6 Jun 2007 19:42:59 +0300
Aleksey Kunitskiy <alexey.kv@gmail.com> wrote:

> Section "ServerLayout"
> 	Identifier	"Layout 1"
> 	Screen	0 "Screen0" 0 0
> 	Screen	1 "Screen1" LeftOf "Screen0"
> 	InputDevice	"Keyboard0"	"CoreKeyboard"
> 	InputDevice	"Mouse0"	"CorePointer"
> EndSection

Try switching the LeftOf to RightOf.  Is that what you meant?  Or did
you want to plug the monitors into each others' plugs?  In which case 

>Section "Screen"
>	Identifier "Screen0"
>	Device     "Card0"
>	Monitor    "Monitor0"
>	DefaultDepth	24
>	SubSection "Display"
>		Modes	"1280x1024"
>		Depth	24
>	EndSubSection
>EndSection

>Section "Screen"
>	Identifier "Screen1"
>	Device     "Card1"
>	Monitor    "Monitor1"
>	DefaultDepth	24
>	SubSection "Display"
>		Modes	"1280x1024"
>		Depth	24
>	EndSubSection
>EndSection

Just switch the Monitor lines here, and switch the plugs.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 16:54 ` Dan Farrell
@ 2007-06-06 17:28   ` Aleksey Kunitskiy
  2007-06-07  3:36     ` Tim Allingham
  2007-06-06 18:10   ` Boyd Stephen Smith Jr.
  1 sibling, 1 reply; 8+ messages in thread
From: Aleksey Kunitskiy @ 2007-06-06 17:28 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 June 2007 19:54, Dan Farrell wrote:
> Try switching the LeftOf to RightOf.  Is that what you meant?  Or did
> you want to plug the monitors into each others' plugs?  In which case
> >Section "Screen"
> >	Identifier "Screen0"
> >	Device     "Card0"
> >	Monitor    "Monitor0"
> >	DefaultDepth	24
> >	SubSection "Display"
> >		Modes	"1280x1024"
> >		Depth	24
> >	EndSubSection
> >EndSection
> >
> >Section "Screen"
> >	Identifier "Screen1"
> >	Device     "Card1"
> >	Monitor    "Monitor1"
> >	DefaultDepth	24
> >	SubSection "Display"
> >		Modes	"1280x1024"
> >		Depth	24
> >	EndSubSection
> >EndSection
>
> Just switch the Monitor lines here, and switch the plugs.

Yes, I want to plug monitors into each others' plugs, but with one thing  - 
without switching monitor plugs physically. I switched monitor lines there 
but it changed nothing. Screen0 is still on the "first" DVI out and Screen1 
is on the "second" DVI out, I need vice versa

I think that I have to specify in each Monitor section on which DVI out this 
monitor identifier have to be, but I don't know how to do it

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

-- 
best regards,
Aleksey V. Kunitskiy
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 16:54 ` Dan Farrell
  2007-06-06 17:28   ` Aleksey Kunitskiy
@ 2007-06-06 18:10   ` Boyd Stephen Smith Jr.
  2007-06-06 18:46     ` Aleksey Kunitskiy
  1 sibling, 1 reply; 8+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-06-06 18:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

On Wednesday 06 June 2007, Dan Farrell <dan@spore.ath.cx> wrote about 'Re: 
[gentoo-user] Changing primary monitor on dual-monitor X.org setup':
> On Wed, 6 Jun 2007 19:42:59 +0300
> Aleksey Kunitskiy <alexey.kv@gmail.com> wrote:
> >Section "Screen"
> >	Identifier "Screen0"
> >	Device     "Card0"
> >	Monitor    "Monitor0"
> >	DefaultDepth	24
> >	SubSection "Display"
> >		Modes	"1280x1024"
> >		Depth	24
> >	EndSubSection
> >EndSection
> >
> >Section "Screen"
> >	Identifier "Screen1"
> >	Device     "Card1"
> >	Monitor    "Monitor1"
> >	DefaultDepth	24
> >	SubSection "Display"
> >		Modes	"1280x1024"
> >		Depth	24
> >	EndSubSection
> >EndSection
>
> Just switch the Monitor lines here, and switch the plugs.

Or, just switch the Device lines.  Each device is a single DVI port (at 
least on my NVidia setup).

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 18:10   ` Boyd Stephen Smith Jr.
@ 2007-06-06 18:46     ` Aleksey Kunitskiy
  2007-06-06 19:40       ` Florian Philipp
  0 siblings, 1 reply; 8+ messages in thread
From: Aleksey Kunitskiy @ 2007-06-06 18:46 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 June 2007 21:10, Boyd Stephen Smith Jr. wrote:
> Or, just switch the Device lines.  Each device is a single DVI port (at
> least on my NVidia setup).

Section "Screen"
	Identifier "Screen0"
	Device     "Card1"
	Monitor    "Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card0"
	Monitor    "Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x1024"
		Depth	24
	EndSubSection
EndSection

Nothing changed. Where I am mistaken ? :(

-- 
best regards,
Aleksey V. Kunitskiy
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 18:46     ` Aleksey Kunitskiy
@ 2007-06-06 19:40       ` Florian Philipp
  2007-06-07 12:12         ` Aleksey Kunitskiy
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Philipp @ 2007-06-06 19:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

Am Mittwoch 06 Juni 2007 20:46 schrieb Aleksey Kunitskiy:
> On Wednesday 06 June 2007 21:10, Boyd Stephen Smith Jr. wrote:
> > Or, just switch the Device lines.  Each device is a single DVI port (at
> > least on my NVidia setup).
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card1"
> 	Monitor    "Monitor0"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Modes	"1280x1024"
> 		Depth	24
> 	EndSubSection
> EndSection
>
> Section "Screen"
> 	Identifier "Screen1"
> 	Device     "Card0"
> 	Monitor    "Monitor1"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Modes	"1280x1024"
> 		Depth	24
> 	EndSubSection
> EndSection
>
> Nothing changed. Where I am mistaken ? :(
>
> --
> best regards,
> Aleksey V. Kunitskiy

You could try to change the entry 'screen' in 'Section "Device"'

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 17:28   ` Aleksey Kunitskiy
@ 2007-06-07  3:36     ` Tim Allingham
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Allingham @ 2007-06-07  3:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

Give this a try, haven't got a chance to test atm but should do what
your after

Section "Screen"
        Identifier "Screen0"
        Device     "Card1"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Modes   "1280x1024"
                Depth   24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card0"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Modes   "1280x1024"
                Depth   24
        EndSubSection
EndSectionOn Wed, 2007-06-06 at 20:28 +0300, Aleksey Kunitskiy wrote:
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "Monitor1"
>         DefaultDepth    24
>         SubSection "Display"
>                 Modes   "1280x1024"
>                 Depth   24
>         EndSubSection
> EndSection
> 
> Section "Screen"
>         Identifier "Screen1"
>         Device     "Card1"
>         Monitor    "Monitor0"
>         DefaultDepth    24
>         SubSection "Display"
>                 Modes   "1280x1024"
>                 Depth   24
>         EndSubSection
> EndSection 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
  2007-06-06 19:40       ` Florian Philipp
@ 2007-06-07 12:12         ` Aleksey Kunitskiy
  0 siblings, 0 replies; 8+ messages in thread
From: Aleksey Kunitskiy @ 2007-06-07 12:12 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 June 2007 22:40, Florian Philipp wrote:
> Am Mittwoch 06 Juni 2007 20:46 schrieb Aleksey Kunitskiy:
> > On Wednesday 06 June 2007 21:10, Boyd Stephen Smith Jr. wrote:
> > > Or, just switch the Device lines.  Each device is a single DVI port (at
> > > least on my NVidia setup).
> >
> > Section "Screen"
> > 	Identifier "Screen0"
> > 	Device     "Card1"
> > 	Monitor    "Monitor0"
> > 	DefaultDepth	24
> > 	SubSection "Display"
> > 		Modes	"1280x1024"
> > 		Depth	24
> > 	EndSubSection
> > EndSection
> >
> > Section "Screen"
> > 	Identifier "Screen1"
> > 	Device     "Card0"
> > 	Monitor    "Monitor1"
> > 	DefaultDepth	24
> > 	SubSection "Display"
> > 		Modes	"1280x1024"
> > 		Depth	24
> > 	EndSubSection
> > EndSection
> >
> > Nothing changed. Where I am mistaken ? :(
> >
> > --
> > best regards,
> > Aleksey V. Kunitskiy
>
> You could try to change the entry 'screen' in 'Section "Device"'

I tried to change "Screen" parameter in section "Device" and "Device" param in 
section "Screen" - none of these two variants work for me :(

-- 
best regards,
Aleksey V. Kunitskiy
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-07 12:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 16:42 [gentoo-user] Changing primary monitor on dual-monitor X.org setup Aleksey Kunitskiy
2007-06-06 16:54 ` Dan Farrell
2007-06-06 17:28   ` Aleksey Kunitskiy
2007-06-07  3:36     ` Tim Allingham
2007-06-06 18:10   ` Boyd Stephen Smith Jr.
2007-06-06 18:46     ` Aleksey Kunitskiy
2007-06-06 19:40       ` Florian Philipp
2007-06-07 12:12         ` Aleksey Kunitskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox