You are not logged in.

#1 2012-03-02 11:13:51

rockmyroot
Member
Registered: 2012-03-02
Posts: 3

Problem Xorg Dual Separate Screen

Hello all,

The goal is to configure two separate screens whith one Xorg so i think i must have one server layout, two devices, two screens and two monitors is it true ? Why i want this is to launch one software on the first screen and one other on the second.

This is my xorg.conf

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option         "Xinerama" "0"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "dbe"
   Load  "dri"
   Load  "extmod"
   Load  "record"
   Load  "dri2"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

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

Section "Device"
    Identifier  "IntelOutput1"
   Driver  "intel"
   BusID   "PCI:0:2:0"
   Option  "monitor-VGA1" "foo"
    Screen       1
EndSection

Section "Device"
    Identifier  "IntelOutput0"
   Driver  "intel"
   BusID   "PCI:0:2:0"
   Option  "monitor-DP1" "bar"
   Screen       0
EndSection

Section "Monitor"
        Identifier      "foo"
      Option "DPMS" "false"
EndSection

Section "Monitor"
        Identifier      "bar"
        Option "RightOf"  "foo"
      Option "DPMS" "false"
EndSection

Section "Screen"
        Identifier    "Screen0"
        Device        "IntelOutput0"
        Monitor       "foo"
        DefaultDepth  24
        SubSection "Display"
                Depth          24
                Modes         "1280x1024"  "1024x768"   "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier    "Screen1"
      Device        "IntelOutput1"
        Device        "Card0"
        Monitor       "bar"
        DefaultDepth  24
        SubSection "Display"
                Depth          24
                Modes         "1280x1024"  "1024x768"   "640x480"
        EndSubSection
EndSection

Offline

#2 2012-03-03 19:26:04

3])
Member
From: Netherlands
Registered: 2009-10-12
Posts: 215

Re: Problem Xorg Dual Separate Screen

There does exist software called 'lxrandr'(monitor configuration tool) in the repository that could handle this issue pretty well.
All you would need to ensure is that both monitors are connected(or in the case of using a laptop, the external monitor is connected).


“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare

Offline

#3 2012-03-05 13:35:48

rockmyroot
Member
Registered: 2012-03-02
Posts: 3

Re: Problem Xorg Dual Separate Screen

Thanx for your answer. But i didn't want to use a desktop manager like lxde, i only want to start a navigator ie Chrome on first screen and on the second screen launch firefox

Thx for your time and your help

Offline

#4 2012-03-05 13:45:27

crlnchr
Member
Registered: 2012-03-03
Posts: 4

Re: Problem Xorg Dual Separate Screen

How about using xrandr then?

Offline

#5 2012-03-05 15:08:58

rockmyroot
Member
Registered: 2012-03-02
Posts: 3

Re: Problem Xorg Dual Separate Screen

The goal is to lauch application on each display like this

DISPLAY=":0.1" xterm 

Offline

#6 2012-03-05 15:54:30

crlnchr
Member
Registered: 2012-03-03
Posts: 4

Re: Problem Xorg Dual Separate Screen

Ok, now i understand. Have you tried devilspie?

Take a look here: http://askubuntu.com/questions/73822/st … -workspace

Offline

Board footer

Powered by FluxBB