You are not logged in.

#1 2007-04-19 02:06:18

banana989
Member
Registered: 2004-06-03
Posts: 60

TwinView default monitor

Howdy- I've successfully set up TwinView with my 2 LCD screens. My setup is as follows:

Left: 17" LCD monitor connected to VGA
"Right": 22" LCD monitor connected to DVI. This is really more center in front of me & my keyboard.

My problem is that the 17" monitor shows up as default... IE- gdm login screen shows up on left and all of my gnome panel stuff shows up on the left. I would like to make my Right (22") monitor the default monitor for all of these things. I anticipate turning off the smaller 17" monitor from time to time...

Any advice?

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
#    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "geForce 4 ti"
    BusID       "AGP:1:0:0"
    Screen      0
#other options I recommend:
    Option     "RenderAccel"
    Option     "HWcursor"
    Option     "CursorShadow"
    Option     "CursorShadowAlpha" "32"
    Option     "CursorShadowXOffset" "3"
    Option     "CursorShadowYOffset" "3"
#the TwinView stuff
    Option     "TwinView"
    Option     "MetaModes"  "1280x1024,1680x1050;"
    Option     "TwinViewOrientation"      "RightOf" 
    Option     "SecondMonitorHorizSync"   "28-96" 
    Option     "SecondMonitorVertRefresh" "60" 
EndSection



Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth 24
        Modes "1920x1200"  "1680x1050" 
    EndSubSection
    SubSection "Display"
        Depth 32
        Modes "1680x1050"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Offline

#2 2007-04-19 02:42:03

Tatey
Member
From: Brisbane, Australia
Registered: 2006-04-02
Posts: 66
Website

Re: TwinView default monitor

You can define which is the primary monitor with the following configuration under the device section in /etc/X11/xorg.conf

Option "TwinViewXineramaInfoOrder" "DFP"

Valid options are CRT,DFP and TV. An analogue connected LCD display is still referred to as a "CRT".  By default, the nVidia driver will treat the CRT as the primary display. Specifying the above configuration line will tell the nVidia driver to use the DFP (Digital Flat Panel) as the primary display. In the event that you have two CRT displays, you can address them as either CRT-0, CRT-1. The same is true for other display types.


Check out my website, http://tatey.com

Offline

#3 2007-04-19 02:44:51

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: TwinView default monitor

Super sweet, I will give it a shot.

Offline

Board footer

Powered by FluxBB