LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-15-2007, 05:15 AM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Wrong monitor chosen as main one.


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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!! Monitor main menu pops up automatically shmocker Linux - Hardware 3 10-01-2006 01:17 PM
Help! Wrong monitor settings! jcatron SUSE / openSUSE 3 07-29-2005 01:19 AM
Configured Wrong Monitor gendreau Linux - Newbie 3 10-03-2004 07:17 PM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
Installed wrong monitor SherylGlas Linux - Newbie 3 02-19-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration