Lenovo T470 in dock with 2 monitors attached, xrandr issue












0















at my new job I regularly have to take my laptop out of its docking station and put it back in.



I usually use i3wm instead of gnome, so I thought I should set up a script that deals with the constant changes.



My problem is with xrandr here.



xrandr, for some reason, doesn't recognize all the monitors, just one at "eDP1".



The monitors I want to control are the built-in one and two monitors connected at the docking station's DP1 and DP2 connectors. One of the external monitors is rotated by 90 degrees.



While I can't solve this I will use gnome, but I really want to go back to i3wm.



And another little issue I have - little in the sense of I think I won't have it anymore after my main issue is solved - is that no monitor will wake up after locking the computer, which is solved after I take the laptop out of its dock and put it back in.



If someone has any ideas or a solution for my issues I'd be really thankful.



Here's the output for xrandr command:



Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.01*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2-1 disconnected primary (normal left inverted right x axis y axis)
DP-2-2 disconnected (normal left inverted right x axis y axis)
DP-2-3 disconnected (normal left inverted right x axis y axis)
1920x1080 (0xa9) 148.500MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1920x1080 (0xaa) 148.500MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1920x1080 (0xab) 148.500MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
1920x1080 (0xac) 148.352MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
1280x1024 (0xad) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0xae) 132.840MHz -HSync +VSync
h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 76.88KHz
v: height 1024 start 1025 end 1028 total 1067 clock 72.05Hz
1152x864 (0xaf) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1280x720 (0xb0) 74.250MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
v: height 720 start 725 end 730 total 750 clock 60.00Hz
1280x720 (0xb1) 74.250MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
v: height 720 start 725 end 730 total 750 clock 60.00Hz
1280x720 (0xb2) 74.250MHz +HSync +VSync
h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
v: height 720 start 725 end 730 total 750 clock 50.00Hz
1280x720 (0xb3) 74.176MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
v: height 720 start 725 end 730 total 750 clock 59.94Hz
1024x768 (0xb4) 78.750MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
v: height 768 start 769 end 772 total 800 clock 75.03Hz
1024x768 (0xb5) 75.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
v: height 768 start 771 end 777 total 806 clock 70.07Hz
800x600 (0xb6) 50.000MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
v: height 600 start 637 end 643 total 666 clock 72.19Hz
800x600 (0xb7) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
720x576 (0xb8) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x576 (0xb9) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x576 (0xba) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x480 (0xbb) 27.027MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
720x480 (0xbc) 27.027MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
720x480 (0xbd) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
720x480 (0xbe) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
720x480 (0xbf) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
640x480 (0xc0) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0xc1) 31.500MHz -HSync -VSync
h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
v: height 480 start 489 end 492 total 520 clock 72.81Hz
640x480 (0xc2) 30.240MHz -HSync -VSync
h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
v: height 480 start 483 end 486 total 525 clock 66.67Hz
640x480 (0xc3) 25.200MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
v: height 480 start 490 end 492 total 525 clock 60.00Hz
640x480 (0xc4) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
720x400 (0xc5) 28.320MHz -HSync +VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
v: height 400 start 412 end 414 total 449 clock 70.08Hz









share|improve this question







New contributor




L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    at my new job I regularly have to take my laptop out of its docking station and put it back in.



    I usually use i3wm instead of gnome, so I thought I should set up a script that deals with the constant changes.



    My problem is with xrandr here.



    xrandr, for some reason, doesn't recognize all the monitors, just one at "eDP1".



    The monitors I want to control are the built-in one and two monitors connected at the docking station's DP1 and DP2 connectors. One of the external monitors is rotated by 90 degrees.



    While I can't solve this I will use gnome, but I really want to go back to i3wm.



    And another little issue I have - little in the sense of I think I won't have it anymore after my main issue is solved - is that no monitor will wake up after locking the computer, which is solved after I take the laptop out of its dock and put it back in.



    If someone has any ideas or a solution for my issues I'd be really thankful.



    Here's the output for xrandr command:



    Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 8192 x 8192
    eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1920x1080 60.01*+ 60.01 59.97 59.96 59.93
    1680x1050 59.95 59.88
    1600x1024 60.17
    1400x1050 59.98
    1600x900 59.99 59.94 59.95 59.82
    1280x1024 60.02
    1440x900 59.89
    1400x900 59.96 59.88
    1280x960 60.00
    1440x810 60.00 59.97
    1368x768 59.88 59.85
    1360x768 59.80 59.96
    1280x800 59.99 59.97 59.81 59.91
    1152x864 60.00
    1280x720 60.00 59.99 59.86 59.74
    1024x768 60.04 60.00
    960x720 60.00
    928x696 60.05
    896x672 60.01
    1024x576 59.95 59.96 59.90 59.82
    960x600 59.93 60.00
    960x540 59.96 59.99 59.63 59.82
    800x600 60.00 60.32 56.25
    840x525 60.01 59.88
    864x486 59.92 59.57
    800x512 60.17
    700x525 59.98
    800x450 59.95 59.82
    640x512 60.02
    720x450 59.89
    700x450 59.96 59.88
    640x480 60.00 59.94
    720x405 59.51 58.99
    684x384 59.88 59.85
    680x384 59.80 59.96
    640x400 59.88 59.98
    576x432 60.06
    640x360 59.86 59.83 59.84 59.32
    512x384 60.00
    512x288 60.00 59.92
    480x270 59.63 59.82
    400x300 60.32 56.34
    432x243 59.92 59.57
    320x240 60.05
    360x202 59.51 59.13
    320x180 59.84 59.32
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1 disconnected (normal left inverted right x axis y axis)
    DP-2 disconnected (normal left inverted right x axis y axis)
    HDMI-2 disconnected (normal left inverted right x axis y axis)
    DP-2-1 disconnected primary (normal left inverted right x axis y axis)
    DP-2-2 disconnected (normal left inverted right x axis y axis)
    DP-2-3 disconnected (normal left inverted right x axis y axis)
    1920x1080 (0xa9) 148.500MHz +HSync +VSync
    h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
    v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
    1920x1080 (0xaa) 148.500MHz +HSync +VSync
    h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
    v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
    1920x1080 (0xab) 148.500MHz +HSync +VSync
    h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
    v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
    1920x1080 (0xac) 148.352MHz +HSync +VSync
    h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
    v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
    1280x1024 (0xad) 135.000MHz +HSync +VSync
    h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
    v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
    1280x1024 (0xae) 132.840MHz -HSync +VSync
    h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 76.88KHz
    v: height 1024 start 1025 end 1028 total 1067 clock 72.05Hz
    1152x864 (0xaf) 108.000MHz +HSync +VSync
    h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
    v: height 864 start 865 end 868 total 900 clock 75.00Hz
    1280x720 (0xb0) 74.250MHz +HSync +VSync
    h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
    v: height 720 start 725 end 730 total 750 clock 60.00Hz
    1280x720 (0xb1) 74.250MHz +HSync +VSync
    h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
    v: height 720 start 725 end 730 total 750 clock 60.00Hz
    1280x720 (0xb2) 74.250MHz +HSync +VSync
    h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
    v: height 720 start 725 end 730 total 750 clock 50.00Hz
    1280x720 (0xb3) 74.176MHz +HSync +VSync
    h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
    v: height 720 start 725 end 730 total 750 clock 59.94Hz
    1024x768 (0xb4) 78.750MHz +HSync +VSync
    h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
    v: height 768 start 769 end 772 total 800 clock 75.03Hz
    1024x768 (0xb5) 75.000MHz -HSync -VSync
    h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
    v: height 768 start 771 end 777 total 806 clock 70.07Hz
    800x600 (0xb6) 50.000MHz +HSync +VSync
    h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
    v: height 600 start 637 end 643 total 666 clock 72.19Hz
    800x600 (0xb7) 49.500MHz +HSync +VSync
    h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
    v: height 600 start 601 end 604 total 625 clock 75.00Hz
    720x576 (0xb8) 27.000MHz -HSync -VSync
    h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
    v: height 576 start 581 end 586 total 625 clock 50.00Hz
    720x576 (0xb9) 27.000MHz -HSync -VSync
    h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
    v: height 576 start 581 end 586 total 625 clock 50.00Hz
    720x576 (0xba) 27.000MHz -HSync -VSync
    h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
    v: height 576 start 581 end 586 total 625 clock 50.00Hz
    720x480 (0xbb) 27.027MHz -HSync -VSync
    h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
    v: height 480 start 489 end 495 total 525 clock 60.00Hz
    720x480 (0xbc) 27.027MHz -HSync -VSync
    h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
    v: height 480 start 489 end 495 total 525 clock 60.00Hz
    720x480 (0xbd) 27.000MHz -HSync -VSync
    h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
    v: height 480 start 489 end 495 total 525 clock 59.94Hz
    720x480 (0xbe) 27.000MHz -HSync -VSync
    h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
    v: height 480 start 489 end 495 total 525 clock 59.94Hz
    720x480 (0xbf) 27.000MHz -HSync -VSync
    h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
    v: height 480 start 489 end 495 total 525 clock 59.94Hz
    640x480 (0xc0) 31.500MHz -HSync -VSync
    h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
    v: height 480 start 481 end 484 total 500 clock 75.00Hz
    640x480 (0xc1) 31.500MHz -HSync -VSync
    h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
    v: height 480 start 489 end 492 total 520 clock 72.81Hz
    640x480 (0xc2) 30.240MHz -HSync -VSync
    h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
    v: height 480 start 483 end 486 total 525 clock 66.67Hz
    640x480 (0xc3) 25.200MHz -HSync -VSync
    h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
    v: height 480 start 490 end 492 total 525 clock 60.00Hz
    640x480 (0xc4) 25.175MHz -HSync -VSync
    h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
    v: height 480 start 490 end 492 total 525 clock 59.94Hz
    720x400 (0xc5) 28.320MHz -HSync +VSync
    h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
    v: height 400 start 412 end 414 total 449 clock 70.08Hz









    share|improve this question







    New contributor




    L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      at my new job I regularly have to take my laptop out of its docking station and put it back in.



      I usually use i3wm instead of gnome, so I thought I should set up a script that deals with the constant changes.



      My problem is with xrandr here.



      xrandr, for some reason, doesn't recognize all the monitors, just one at "eDP1".



      The monitors I want to control are the built-in one and two monitors connected at the docking station's DP1 and DP2 connectors. One of the external monitors is rotated by 90 degrees.



      While I can't solve this I will use gnome, but I really want to go back to i3wm.



      And another little issue I have - little in the sense of I think I won't have it anymore after my main issue is solved - is that no monitor will wake up after locking the computer, which is solved after I take the laptop out of its dock and put it back in.



      If someone has any ideas or a solution for my issues I'd be really thankful.



      Here's the output for xrandr command:



      Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 8192 x 8192
      eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
      1920x1080 60.01*+ 60.01 59.97 59.96 59.93
      1680x1050 59.95 59.88
      1600x1024 60.17
      1400x1050 59.98
      1600x900 59.99 59.94 59.95 59.82
      1280x1024 60.02
      1440x900 59.89
      1400x900 59.96 59.88
      1280x960 60.00
      1440x810 60.00 59.97
      1368x768 59.88 59.85
      1360x768 59.80 59.96
      1280x800 59.99 59.97 59.81 59.91
      1152x864 60.00
      1280x720 60.00 59.99 59.86 59.74
      1024x768 60.04 60.00
      960x720 60.00
      928x696 60.05
      896x672 60.01
      1024x576 59.95 59.96 59.90 59.82
      960x600 59.93 60.00
      960x540 59.96 59.99 59.63 59.82
      800x600 60.00 60.32 56.25
      840x525 60.01 59.88
      864x486 59.92 59.57
      800x512 60.17
      700x525 59.98
      800x450 59.95 59.82
      640x512 60.02
      720x450 59.89
      700x450 59.96 59.88
      640x480 60.00 59.94
      720x405 59.51 58.99
      684x384 59.88 59.85
      680x384 59.80 59.96
      640x400 59.88 59.98
      576x432 60.06
      640x360 59.86 59.83 59.84 59.32
      512x384 60.00
      512x288 60.00 59.92
      480x270 59.63 59.82
      400x300 60.32 56.34
      432x243 59.92 59.57
      320x240 60.05
      360x202 59.51 59.13
      320x180 59.84 59.32
      DP-1 disconnected (normal left inverted right x axis y axis)
      HDMI-1 disconnected (normal left inverted right x axis y axis)
      DP-2 disconnected (normal left inverted right x axis y axis)
      HDMI-2 disconnected (normal left inverted right x axis y axis)
      DP-2-1 disconnected primary (normal left inverted right x axis y axis)
      DP-2-2 disconnected (normal left inverted right x axis y axis)
      DP-2-3 disconnected (normal left inverted right x axis y axis)
      1920x1080 (0xa9) 148.500MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
      1920x1080 (0xaa) 148.500MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
      1920x1080 (0xab) 148.500MHz +HSync +VSync
      h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
      1920x1080 (0xac) 148.352MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
      1280x1024 (0xad) 135.000MHz +HSync +VSync
      h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
      v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
      1280x1024 (0xae) 132.840MHz -HSync +VSync
      h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 76.88KHz
      v: height 1024 start 1025 end 1028 total 1067 clock 72.05Hz
      1152x864 (0xaf) 108.000MHz +HSync +VSync
      h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
      v: height 864 start 865 end 868 total 900 clock 75.00Hz
      1280x720 (0xb0) 74.250MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
      v: height 720 start 725 end 730 total 750 clock 60.00Hz
      1280x720 (0xb1) 74.250MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
      v: height 720 start 725 end 730 total 750 clock 60.00Hz
      1280x720 (0xb2) 74.250MHz +HSync +VSync
      h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
      v: height 720 start 725 end 730 total 750 clock 50.00Hz
      1280x720 (0xb3) 74.176MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
      v: height 720 start 725 end 730 total 750 clock 59.94Hz
      1024x768 (0xb4) 78.750MHz +HSync +VSync
      h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
      v: height 768 start 769 end 772 total 800 clock 75.03Hz
      1024x768 (0xb5) 75.000MHz -HSync -VSync
      h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
      v: height 768 start 771 end 777 total 806 clock 70.07Hz
      800x600 (0xb6) 50.000MHz +HSync +VSync
      h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
      v: height 600 start 637 end 643 total 666 clock 72.19Hz
      800x600 (0xb7) 49.500MHz +HSync +VSync
      h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
      v: height 600 start 601 end 604 total 625 clock 75.00Hz
      720x576 (0xb8) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x576 (0xb9) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x576 (0xba) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x480 (0xbb) 27.027MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
      v: height 480 start 489 end 495 total 525 clock 60.00Hz
      720x480 (0xbc) 27.027MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
      v: height 480 start 489 end 495 total 525 clock 60.00Hz
      720x480 (0xbd) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      720x480 (0xbe) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      720x480 (0xbf) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      640x480 (0xc0) 31.500MHz -HSync -VSync
      h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
      v: height 480 start 481 end 484 total 500 clock 75.00Hz
      640x480 (0xc1) 31.500MHz -HSync -VSync
      h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
      v: height 480 start 489 end 492 total 520 clock 72.81Hz
      640x480 (0xc2) 30.240MHz -HSync -VSync
      h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
      v: height 480 start 483 end 486 total 525 clock 66.67Hz
      640x480 (0xc3) 25.200MHz -HSync -VSync
      h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
      v: height 480 start 490 end 492 total 525 clock 60.00Hz
      640x480 (0xc4) 25.175MHz -HSync -VSync
      h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
      v: height 480 start 490 end 492 total 525 clock 59.94Hz
      720x400 (0xc5) 28.320MHz -HSync +VSync
      h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
      v: height 400 start 412 end 414 total 449 clock 70.08Hz









      share|improve this question







      New contributor




      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      at my new job I regularly have to take my laptop out of its docking station and put it back in.



      I usually use i3wm instead of gnome, so I thought I should set up a script that deals with the constant changes.



      My problem is with xrandr here.



      xrandr, for some reason, doesn't recognize all the monitors, just one at "eDP1".



      The monitors I want to control are the built-in one and two monitors connected at the docking station's DP1 and DP2 connectors. One of the external monitors is rotated by 90 degrees.



      While I can't solve this I will use gnome, but I really want to go back to i3wm.



      And another little issue I have - little in the sense of I think I won't have it anymore after my main issue is solved - is that no monitor will wake up after locking the computer, which is solved after I take the laptop out of its dock and put it back in.



      If someone has any ideas or a solution for my issues I'd be really thankful.



      Here's the output for xrandr command:



      Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 8192 x 8192
      eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
      1920x1080 60.01*+ 60.01 59.97 59.96 59.93
      1680x1050 59.95 59.88
      1600x1024 60.17
      1400x1050 59.98
      1600x900 59.99 59.94 59.95 59.82
      1280x1024 60.02
      1440x900 59.89
      1400x900 59.96 59.88
      1280x960 60.00
      1440x810 60.00 59.97
      1368x768 59.88 59.85
      1360x768 59.80 59.96
      1280x800 59.99 59.97 59.81 59.91
      1152x864 60.00
      1280x720 60.00 59.99 59.86 59.74
      1024x768 60.04 60.00
      960x720 60.00
      928x696 60.05
      896x672 60.01
      1024x576 59.95 59.96 59.90 59.82
      960x600 59.93 60.00
      960x540 59.96 59.99 59.63 59.82
      800x600 60.00 60.32 56.25
      840x525 60.01 59.88
      864x486 59.92 59.57
      800x512 60.17
      700x525 59.98
      800x450 59.95 59.82
      640x512 60.02
      720x450 59.89
      700x450 59.96 59.88
      640x480 60.00 59.94
      720x405 59.51 58.99
      684x384 59.88 59.85
      680x384 59.80 59.96
      640x400 59.88 59.98
      576x432 60.06
      640x360 59.86 59.83 59.84 59.32
      512x384 60.00
      512x288 60.00 59.92
      480x270 59.63 59.82
      400x300 60.32 56.34
      432x243 59.92 59.57
      320x240 60.05
      360x202 59.51 59.13
      320x180 59.84 59.32
      DP-1 disconnected (normal left inverted right x axis y axis)
      HDMI-1 disconnected (normal left inverted right x axis y axis)
      DP-2 disconnected (normal left inverted right x axis y axis)
      HDMI-2 disconnected (normal left inverted right x axis y axis)
      DP-2-1 disconnected primary (normal left inverted right x axis y axis)
      DP-2-2 disconnected (normal left inverted right x axis y axis)
      DP-2-3 disconnected (normal left inverted right x axis y axis)
      1920x1080 (0xa9) 148.500MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
      1920x1080 (0xaa) 148.500MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
      1920x1080 (0xab) 148.500MHz +HSync +VSync
      h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
      1920x1080 (0xac) 148.352MHz +HSync +VSync
      h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
      v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
      1280x1024 (0xad) 135.000MHz +HSync +VSync
      h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
      v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
      1280x1024 (0xae) 132.840MHz -HSync +VSync
      h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 76.88KHz
      v: height 1024 start 1025 end 1028 total 1067 clock 72.05Hz
      1152x864 (0xaf) 108.000MHz +HSync +VSync
      h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
      v: height 864 start 865 end 868 total 900 clock 75.00Hz
      1280x720 (0xb0) 74.250MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
      v: height 720 start 725 end 730 total 750 clock 60.00Hz
      1280x720 (0xb1) 74.250MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
      v: height 720 start 725 end 730 total 750 clock 60.00Hz
      1280x720 (0xb2) 74.250MHz +HSync +VSync
      h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
      v: height 720 start 725 end 730 total 750 clock 50.00Hz
      1280x720 (0xb3) 74.176MHz +HSync +VSync
      h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
      v: height 720 start 725 end 730 total 750 clock 59.94Hz
      1024x768 (0xb4) 78.750MHz +HSync +VSync
      h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
      v: height 768 start 769 end 772 total 800 clock 75.03Hz
      1024x768 (0xb5) 75.000MHz -HSync -VSync
      h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
      v: height 768 start 771 end 777 total 806 clock 70.07Hz
      800x600 (0xb6) 50.000MHz +HSync +VSync
      h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
      v: height 600 start 637 end 643 total 666 clock 72.19Hz
      800x600 (0xb7) 49.500MHz +HSync +VSync
      h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
      v: height 600 start 601 end 604 total 625 clock 75.00Hz
      720x576 (0xb8) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x576 (0xb9) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x576 (0xba) 27.000MHz -HSync -VSync
      h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
      v: height 576 start 581 end 586 total 625 clock 50.00Hz
      720x480 (0xbb) 27.027MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
      v: height 480 start 489 end 495 total 525 clock 60.00Hz
      720x480 (0xbc) 27.027MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
      v: height 480 start 489 end 495 total 525 clock 60.00Hz
      720x480 (0xbd) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      720x480 (0xbe) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      720x480 (0xbf) 27.000MHz -HSync -VSync
      h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
      v: height 480 start 489 end 495 total 525 clock 59.94Hz
      640x480 (0xc0) 31.500MHz -HSync -VSync
      h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
      v: height 480 start 481 end 484 total 500 clock 75.00Hz
      640x480 (0xc1) 31.500MHz -HSync -VSync
      h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
      v: height 480 start 489 end 492 total 520 clock 72.81Hz
      640x480 (0xc2) 30.240MHz -HSync -VSync
      h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
      v: height 480 start 483 end 486 total 525 clock 66.67Hz
      640x480 (0xc3) 25.200MHz -HSync -VSync
      h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
      v: height 480 start 490 end 492 total 525 clock 60.00Hz
      640x480 (0xc4) 25.175MHz -HSync -VSync
      h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
      v: height 480 start 490 end 492 total 525 clock 59.94Hz
      720x400 (0xc5) 28.320MHz -HSync +VSync
      h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
      v: height 400 start 412 end 414 total 449 clock 70.08Hz






      multiple-monitors xrandr i3-wm docking






      share|improve this question







      New contributor




      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      L. LangenL. Langen

      1




      1




      New contributor




      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      L. Langen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          L. Langen is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123688%2flenovo-t470-in-dock-with-2-monitors-attached-xrandr-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          L. Langen is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          L. Langen is a new contributor. Be nice, and check out our Code of Conduct.













          L. Langen is a new contributor. Be nice, and check out our Code of Conduct.












          L. Langen is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123688%2flenovo-t470-in-dock-with-2-monitors-attached-xrandr-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局