[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Display on a Laptop?



On Fri, Mar 26, 2004 at 02:58:52PM +0100, Lukas Ruf wrote:
> > Nicolas <ripley@8d.com> [2004-03-26 04:55]:
> >
> > On Thursday 25 March 2004 22:37, arief# wrote:
> > >
<snip>
 
> Great thing!  This would be the solution I've always wanted for my
> laptop and Linux!
> 
> Can you send me (us) some more hints, how this works?
> - Configuration of the two screens
> - Are both displays active all the time or is it possible to switch
>   them on and off independently?

I posted this reply yesterday to debian-user by mistake.  Sorry.
Now i am posting to the debian-laptop list.

Here is my XF86Config-4 file pasted below.
I use a Thinkpad A31 with 15" screen and external 15" Flat panel monitor.
My setup has 2 complete desktops...one for each screen.
The mouse freely travels between each. This is a great setup.
But I can't drag applications across to each other because they are
independant desktops.
The laptop display runs at 1400x1050 and the external runs at 1024x768.
I am not an expert at all and this was put together by researching
the web for a couple of hours so there may be stuff in here that's not right.

--------------------------------------------------------------------------
Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Device[0]"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "NoDDC"
        Option          "Rotate" "off"
EndSection

Section "Device"
        Identifier      "Device[1]
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Screen          1
        Option          "Rotate" "off"
        Option          "NoDDC"
EndSection

Section "Monitor"
        Identifier      "Monitor[0]"
        HorizSync       30-90
        VertRefresh     40-80
        Option          "DPMS"
        UseModes        "Modes[0]"
EndSection

Section "Monitor"
        Identifier      "Monitor[1]"
        HorizSync       30-90
        VertRefresh     40-80
        Option          "DPMS"
        UseModes        "Modes[1]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1400x1050" 61.19 1024 1040 1216 1400 768 768 777 802
  Modeline      "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
  Modeline      "1400x1050" 162.08 1400 1480 1768 1896 1050 1050 1063 1097 -hsync -vsync
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline      "1400x1050" 61.19 1024 1040 1216 1400 768 768 777 802
  Modeline      "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
  Modeline      "1400x1050" 162.08 1400 1480 1768 1896 1050 1050 1063 1097 -hsync -vsync
EndSection


Section "Screen"
        Identifier      "Screen[0]"
        Device          "Device[0]"
        Monitor         "Monitor[0]"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1400x1050"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Screen[1]"
        Device          "Device[1]"
        Monitor         "Monitor[1]"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection



Section "ServerLayout"
        Identifier      "multi"
        Screen          "Screen[0]"
        Option          "Clone" "off"
        Option          "Xinerama" "off"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse" "CorePointer"
        InputDevice     "Generic Mouse" "SendCoreEvents"
        Screen          "Screen[1]" LeftOf "Screen[0]"
EndSection

Section "DRI"
        Mode    0666
EndSection



Reply to: