LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Clone a screen with monitor using different resolution (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/clone-a-screen-with-monitor-using-different-resolution-321990/)

phen 05-10-2005 10:38 AM

Clone a screen with monitor using different resolution
 
Hello everybody!

I've read through many posts on different forums, but - unfortunately - no post fitted my problem. So please excuse the yet-another-display-question ;)

my laptop is capable to display 1024*786, while my display at home is able to display 1280*1024. I want to use these two resolutions. But I want to clone the display, so that i am able to turn off the laptop lcd.

The laptop uses a i915GM graphics adapter.

Code:

Section "Device"
        Identifier      "Videocard0"
        Driver          "i810"
        BusID          "PCI:0:2:0"
        Option          "MonitorLayout" "CRT,LFP"
        Option          "VBERestore"    "false"
        Option          "DevicePresence" "false"
        Option          "DisplayInfo" "false"
        Screen          0
EndSection

Section "Device"
        Identifier      "Videocard1"
        Driver          "i810"
        BusID          "PCI:0:2:0"
        Option          "VBERestore"    "false"
        Option          "DevicePresence" "false"
        #Option "TwinViewOrientation" "Cloneview" # this one makes X stop working :-(
        Screen          1
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Notebook"
        ModelName      "LCD"
        Option          "DPMS"
        HorizSync      28-49
        VertRefresh    43-72
EndSection

Section "Monitor"
        Identifier      "Monitor1"
        VendorName      "External"
        ModelName      "LCD"
        Option          "DPMS"
        HorizSync      28-49
        VertRefresh    43-72
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                #Viewport  0 0
                Depth    16
                Modes  "1024x768"
        EndSubSection
        SubSection "Display"
                #Viewport  0 0
                Depth    24
                Modes  "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                #Viewport  0 0
                Depth    16
                Modes  "1280x1024"
        EndSubSection
        SubSection "Display"
                #Viewport  0 0
                Depth    24
                Modes  "1280x1024"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen 0 "Screen0" 0 0
        Screen 1 "Screen1" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "Synaptics Touchpad"
EndSection


Thank you very much for your help!

Kai

sieira 12-31-2007 07:58 AM

Code:

Section "Device"
        Identifier      "Videocard0"
        Driver          "i810"
        BusID          "PCI:0:2:0"
        Option          "MonitorLayout" "CRT,LFP"
        Option          "VBERestore"    "false"
        Option          "DevicePresence" "false"
        Option          "DisplayInfo" "false"
        Screen          0
EndSection

Section "Device"
        Identifier      "Videocard1"
        Driver          "i810"
        BusID          "PCI:0:2:0"
        Option          "VBERestore"    "false"
        Option          "DevicePresence" "false"
        #Option "TwinViewOrientation" "Cloneview" # this one makes X stop working :-(
        Screen          1
EndSection

Why did you set DevicePresence as false?. I have three different layouts, I only switched it to true in the one that doesn't work :-p (it's supposed to make the dual-head mode work, but it doesn't anyway...)


Code:

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen 0 "Screen0" 0 0
        Screen 1 "Screen1" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "Synaptics Touchpad"
EndSection

Did you try?:

Code:

Screen 0 "Screen0" 0 0
Screen 1 "Screen1" clone "Screen0"



All times are GMT -5. The time now is 05:21 AM.