External monitor shows part of primary monitor on screen

I have two monitors that are connected to my laptop. I rotated the one on the left using the displays section of Settings. My laptop display is HIDPI so I had to use xrandr to scale both external monitors, like this:

xrandr --output DP-1-2-1 --scale 2x2

However, in the corner of the rotated display on the left is the contents of my laptop display. Here's a screenshot of what I see on the rotated display: screenshot of rotated display

I'd guess that this is because the computer still thinks that my display is the width it was before scaling, but now that it has more pixels it hasn't accounted for that when positioning the displays, although I don't have this issue with the display on the right. I tested it with the display not rotated and I still had the issue. How can I fix this?

задан 26 July 2020 в 01:17

1 ответ

Installing arandr and opening it showed the overlapping displays, I was able to move them and export a shell script that fixes it.

ответ дан 30 July 2020 в 22:02

Другие вопросы по тегам:

Похожие вопросы: