LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   my external screens are seens as a single dekstop (https://www.linuxquestions.org/questions/debian-26/my-external-screens-are-seens-as-a-single-dekstop-4175503458/)

benjalien 04-30-2014 11:07 AM

my external screens are seens as a single dekstop
 
Hi,

I'm using debian 7 with two external displays, and they're seen as a single one.
The side effect is that I have a 3840X1080 resolution and cannot make a program full-screen only on one, pretty annoying...

Did anyone ever came across this?

Xranrd -q give me this:

Code:

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP1 connected (normal left inverted right x axis y axis)
  1366x768      60.0 +  40.0 
  1360x768      59.8    60.0 
  1024x768      60.0 
  800x600        60.3    56.2 
  640x480        59.9 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 connected primary 3840x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
  1920x1080      60.0 +
  3840x1080      60.0*
  2560x1024      60.0 
  1680x1050      60.0 
  1280x1024      75.0    60.0 
  1440x900      59.9 
  1280x960      60.0 
  1280x800      59.8 
  1152x864      75.0 
  1280x720      60.0 
  1024x768      75.1    70.1    60.0 
  832x624        74.6 
  800x600        72.2    75.0    60.3    56.2 
  640x480        75.0    72.8    66.7    60.0 
  720x400        70.1 
HDMI2 disconnected (normal left inverted right x axis y axis)

Any help greatly appreciated :)

Thanks!

ondoho 05-01-2014 04:23 AM

2 external screens? sounds tricky.
have you tried playing around with a graphical xrandr frontend, like arandr?
newbish advice, but i find it much easier to use then typing xrandr commands

descendant_command 05-05-2014 02:59 AM

Dunno about the randr tools, but you can set them up as separate screens in an /etc/X11/xorg.conf file (or xorg.conf.d/something.conf)

benjalien 05-05-2014 03:24 AM

Hi both,

xrandr only sees two screens, eDP1 having my laptop's native screen resolution, and DP2 having the reolution of my both external screens (3840x1080=1920+1920*1080).

This excludes any other xrandr frontend :(

Talking about the xorg.conf, that was one of my hopes, but how could this be done?

Thanks!

descendant_command 05-05-2014 03:59 AM

Below is what I use on my laptop with an external screen (and an nvidia card - it may be slightly different with some other display device).

It's worth noting that with separate screens, windows can't be "dragged across" and app's must be started on whichever screen is desired.

Code:

Section "ServerLayout"
## AOC on VGA
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1366 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "0"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "AU Optronics Corporation"
    HorizSync      30.0 - 75.0
    VertRefresh    60.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "AOC 2460"
    HorizSync      30.0 - 83.0
    VertRefresh    50.0 - 76.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce GT 540M"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "Stereo" "0"
    Option        "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "Stereo" "0"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection



All times are GMT -5. The time now is 02:01 PM.