xrandr — Treat multiple screens as one

10,406

Multiple monitors can be achieved in xrandr by creating a new monitor that consists out of one or more existing monitor. The virtual size of this display is automatically determined.

Take the following example were HDMI-A-0 and HDMI-A-1 are combined into one virtual display.

xrandr --setmonitor NameOfDisplay auto HDMI-A-0,HDMI-A-1

For more information on how to use setmonitor you can use the Arch wiki or the Xrandr documentation

Share:
10,406

Related videos on Youtube

pvnda
Author by

pvnda

Updated on September 18, 2022

Comments

  • pvnda
    pvnda over 1 year

    I have the same problem as this post Use Two Monitors As One (Not Mirror, Not Extend) I also want to extend my screens to a big 3840x1200 screen rather two 1920x1200 screens and I found a solution here https://bbs.archlinux.org/viewtopic.php?id=214841, however, the problem I met is that I cannot find VIRTUAL1 and my xrandr result is

    Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 16384 x 16384
    VGA-0 connected primary 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
       1920x1200     59.95*+
       1920x1080     60.00  
       1680x1050     59.95  
       1600x1200     60.00  
       1280x1024     60.02  
       1280x960      60.00  
       1024x768      60.00  
       800x600       60.32  
       640x480       59.94  
    DVI-D-0 disconnected (normal left inverted right x axis y axis)
    HDMI-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
       1920x1200     59.95*+
       1920x1080     60.00  
       1680x1050     59.95  
       1600x1200     60.00  
       1280x1024     60.02  
       1280x960      60.00  
       1024x768      60.00  
       800x600       60.32  
       640x480       59.94  
      3840x1200_60.00 (0x32f) 386.750MHz -HSync +VSync
            h: width  3840 start 4104 end 4512 total 5184 skew    0 clock  74.60KHz
            v: height 1200 start 1203 end 1213 total 1245           clock  59.92Hz
    

    So I wonder if there is a way to continue with the solution I found, or there is other solutions for this.

    Thanks!

  • pvnda
    pvnda almost 6 years
    Hi, thanks for reply, I am using this setting, but what I want to know is like use two 1920x1200 screens as one 3840x1200 screen, so for example, when you maximum the google chrome window, it will fulfill both screens.
  • Admin
    Admin almost 2 years
    Have you had any luck with this?