LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   External screen (xorg.conf) (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/external-screen-xorg-conf-549248/)

rejeep 04-26-2007 01:28 PM

External screen (xorg.conf)
 
Hi!

I'm trying to connect an external screen to my laptop.

With my xorg.conf as I have now the resolution on the screens will be the same.
I want to have 1366x768 on my laptop and 1680x1050 on my external screen.

I would really appreciate if someone could help me out!

Code:

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/misc/"
        FontPath    "/usr/share/fonts/Type1/"
        FontPath    "/usr/share/fonts/100dpi/"
        FontPath    "/usr/share/fonts/75dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "kbd"
        Option            "XkbModel"        "pc105"
        Option            "XkbLayout"        "se"
EndSection

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

Section "Monitor"
        Identifier  "Default Monitor"
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier                "External Monitor"
        #HorizSync      from-to
        #VertRefresh    from-to
        Option          "DPMS"
EndSection

Section "Device"
        Identifier  "GMA 900"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName  "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID      "PCI:0:2:0"
        Option      "MonitorLayout" "CRT,LFP"
        Option      "Clone" "On"
        Option      "DevicePresence" "yes"
        Option            "MetaModes" "1366x768,1680x1050;"
        Option                "TwinView" "1"
EndSection
     
Section "Screen"
        Identifier        "Default Screen"
        Device            "GMA 900"
        Monitor            "Default Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth        24
                Modes        "1366x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "External Screen"
        Device        "GMA 900"
        Monitor        "External Monitor"
        DefaultDepth        24
        SubSection        "Display"
                Depth        24
                Modes        "1680x1050"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Mouse"        "CorePointer"
        InputDevice        "Keyboard"        "CoreKeyboard"
EndSection

Section "ServerLayout"
        Identifier        "Extra Layout"
        Screen                "External Screen"
        InputDevice        "Mouse"                "CorePointer"
        InputDevice        "Keyboard"        "CoreKeyboard"
EndSection

Section "DRI"
        Mode        0666
EndSection


PenGUiN_6_1 04-26-2007 04:04 PM

I believe that under the part where it says the monitors, you can enter the Display size, in milimeters, for the respective monitor (you enter the width followed by space followed by the height); read the manual page for specific information

EdW 05-01-2007 08:53 PM

Rajeet
in your second "Device" try giving it a different name monitory name and only put the one mode in it. I notice that is what my multihead XF86Conf file has (I called mine "Generic CRT" since it was for a behmoth Nec MultiSync):o

Then assign that device to one of your monitors Identifier(ie "Generic CRT")
http://www.interparse.com/debianmultihead/
FWIW

Ed

PS: also see http://www.linuxquestions.org/questi...d.php?t=364929


All times are GMT -5. The time now is 09:36 PM.