I have a ubuntu machine with integrated Intel HD Graphics with 2 monitors plugged into the two ports provided. With this setup both the monitors have exaclty same output. I needed to extend the X server's functionality to support one more screen so that when I run some application it runs either on screen0 or on screen1.
To do this I added a file name monior.conf in /usr/share/X11/xorg.conf.d directory but does not work for me. The file looks like this:
Section "ServerLayout"
Identifier "DualScreen"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor1"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
BusID "PCI:00:02.0"
EndSection
Section "Device"
Identifier "Card1"
Driver "intel"
BusID "PCI:00:02.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
EndSection
But this doesn't work. The output of xrandr is as following:
Screen 0: minimum 1280 x 900, current 1280 x 900, maximum 1280 x 900
default connected 1280x900+0+0 0mm x 0mm
1280x900 0.0*
What I need is two screens independent of each other and windows can not be moved between them. Please help me to get this done.