LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-28-2006, 12:39 AM   #1
sktjcc
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Smile Default monitor change in dual monitor.


How can I change default monitor in dual monitors?

I installed Fedora Core5.

And I am using Geforce 6600 graphic card which have one DVI port and one SVGA port. I have two Samsung SyncMaster LCD monitors. I connected one LCD to DVI and the other to SVGA port.

I managed to configure xorg.conf file to support TwinView.
However, in any configuration I've tried, the default monitor is always the one connected to SVGA port.

I'd like to set the monitor connected to DVI port as default monitor.
 
Old 05-28-2006, 01:18 AM   #2
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
hi there sktjcc,

first of all welcome to LQ.org



Now to your issue: if you take a look at your /etc/X11/xorg.conf


Code:
Section "Device"
 ...
Option     "TwinView"
Option "ConnectedMonitor" "CRT,CRT"
 ...
End Section
You may see a section that looks like that or maybe not, but it's quite essential as it sets the order of your display devices. In this example it's 2 CRT monitors (or you could also say one that's connected to your VGA and the other is your LCD in analog mode (non-dvi cable)

important: if you use your LCD in analog mode (non-dvi cable or with the adapter DVI-to-VGA) you should refer to the monitor as "CRT"



Now in your case it should be

Code:
Section "Device"
 ...
Option     "TwinView"
 ...
Option "ConnectedMonitor" "DFP,CRT"
 ...
End Section

DFP = digital flat panel which also means LCD through DVI cable

this will set your LCD as the primary monitor display device and the CRT monitor as second



Code:
Option "ConnectedMonitor" "CRT,DFP"
of course would reverse that (CRT=1) and DFP/LCD=2


Hope this helps!
 
Old 05-28-2006, 07:34 AM   #3
sktjcc
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very much for your reply.

But it's not working.

It is my xorg.conf file. Can you please check it?
==============================================================================
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Mar 29 14:43:26 PST 2006

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" RightOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Samsung SyncMaster 172T/176T/CX176T/CX171T (Digital)"
DisplaySize 340 270
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Samsung SyncMaster 172T/176T/CX176T/CX171T (Digital)"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard Vendor"
BoardName "nVidia Corporation NV43 [GeForce 6600]"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768; 800x600,800x600; 800x600"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "DFP,CRT"
BusID "PCI:4:0:0"
EndSection

#Section "Device"
# Identifier "Videocard1"
# Driver "nvidia"
# VendorName "Videocard vendor"
# BoardName "nVidia Corporation NV43 [GeForce 6600]"
# Option "TwinView"
# Option "MetaModes" "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768; 800x600,800x600; 800x600"
#EndSection


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
#Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
#Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
default monitor on nvidia / dual monitor setup fenderog Suse/Novell 3 05-01-2009 05:36 PM
Issue trying to dual monitor with Dell 2005FPW LCD monitor damg Linux - Hardware 2 12-05-2005 10:13 AM
q: enlightenment dual monitor: one Desktop for each monitor ? steefje Linux - Software 2 02-07-2005 07:27 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM
Switch from 17" monitor to 15" monitor. Need to know how to change settings. DoThatPlan Linux - Hardware 1 04-14-2004 08:11 PM


All times are GMT -5. The time now is 02:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration