I'm trying to setup my external monitor so that it has an extra screen to which i can drag/drop windows on to. I've almost got that to work... Using gentoo's non-twinview tutorial in
http://gentoo-wiki.com/HOWTO_Dual_Monitors
I've got two screens (though for some reason i can't drag/drop in them), but my main problem is that whatever i do, the external monitor is
always set as the main one, instead of the laptop's monitor. Here is part of my configuration.
mymon: the laptop's monitor
iiyama: the external monitor
myvga: the laptop's vga
myvga2: the external monitor's vga
screen 0 : the laptop's screen
screen 1: the ext. monitor's screen.
Code:
# **********************************************************************
# Monitor device section
# **********************************************************************
Section "Monitor"
Identifier "mymon"
VendorName "Sony"
ModelName "X-Black"
Option "DPMS"
Option "BlankTime" "4"
#Option "StandbyTime" "0"
#Option "SuspendTime" "0"
Option "OffTime" "8"
HorizSync 29-60
VertRefresh 0-60
DisplaySize 285 179 #important to set dpi properly
Modeline "1280x800" 68.56 1280 1336 1472 1664 800 801 804 824 -HSync +Vsync
EndSection
Section "Monitor"
Identifier "iiyama"
VendorName "iiyama"
ModelName "FP767"
Option "dpms"
HorizSync 29-81
VertRefresh 0-76
DisplaySize 285 179 #important to set dpi properly
Modeline "1280x1024" 68.56 1280 1336 1472 1664 800 801 804 824 -HSync +Vsync
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "myvga"
VendorName "nVidia Corporation"
BoardName "GeForce Go 6200"
BusID "PCI:1:0:0"
Driver "nvidia"
Option "RenderAccel" "true"
Option "NoLogo" "true"
Option "NvAGP" "1"
Option "Coolbits" "1"
Option "MonitorLayout" "LVDS, AUTO"
Screen 0
EndSection
Section "Device"
Identifier "myvga2"
VendorName "nVidia Corporation"
BoardName "GeForce Go 6200"
BusID "PCI:1:0:0"
Driver "nvidia"
Option "RenderAccel" "true"
Option "NoLogo" "true"
Option "NvAGP" "1"
Option "Coolbits" "1"
Option "MonitorLayout" "LVDS, AUTO"
Screen 1
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen 0"
Device "myvga"
Monitor "mymon"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "myvga2"
Monitor "iiyama"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen 0" 0 0
Screen 1 "Screen 1" RightOf "Screen 0"
EndSection
I tried switching over Screen 0 with 1, using LeftOf instead, etc.. but nothing worked. It always chooses the external monitor as the main one.
I'm running Xorg 7.1 on Gentoo with Nvidia 1.0.8776.
Any help is appreciated. Thanks.