My normal layout
#!/bin/sh
xrandr --output eDP-1 --mode 1920x1080 --pos 3640x249 --rotate normal --output 
DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off 
--output DP-1-1 --mode 1920x1080 --pos 0x0 --rotate left --output DP-1-2 --off 
--output DP-1-2-8 --primary --mode 2560x1600 --pos 1080x46 --rotate normal 
--output DP-1-2-1 --off --output DP-1-3 --off

The layout I switch to to wake the screens up, before then switchign back to 
the normal layout
#!/bin/sh
xrandr --output eDP-1 --mode 1920x1080 --pos 3640x498 --rotate normal --output 
DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off 
--output DP-1-1 --mode 1600x1200 --pos 0x0 --rotate left --output DP-1-2-8 
--primary --mode 1920x1600 --pos 1080x46 --rotate normal --output DP-1-2-1 
--off --output DP-1-2 --off --output DP-1-3 --off

I used arandr to generate the commands and have the assigned to hotkeys

On 11.01.22 12:13, Andreas Fink wrote:
On Tue, 11 Jan 2022 10:57:28 +0100
Benjamin Blanz <benjamin.bl...@gmx.de> wrote:

Hi,
I have the same issue using a usb-c dockingstation.
I have found it is enough to change the resolution of the connected screens to 
get them back.
Still annoying, but at least the windows are not redistributed.On 11.01.22 
10:25, Andreas Fink wrote:

That did not work for me because xrandr complains that any resolution
is an unknown mode.
Which command do you use to change the resolution of the connected
screen?

Attachment: OpenPGP_0x7AAC0ED205503D09.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to