autorandr icon indicating copy to clipboard operation
autorandr copied to clipboard

Call xrandr individually for each display

Open madduck opened this issue 6 years ago • 3 comments

The way autorandr previously used to generate one gigantic xrandr call with multiple --outputs wouldn't work reliably. In some setups, I'd consistently get:

xrandr: Configure crtc 1 failed"

whereas running two xrandr calls, one for each display, works.

This patch simply dispatches one xrandr call per display.

madduck avatar Sep 10 '19 23:09 madduck

I just ran into the same issue. This branch fixed the xrandr errors!

hensur avatar Sep 11 '19 11:09 hensur

There's drivers that'll automatically reenable one output, and also window managers unhappy about having everything disabled.

phillipberndt avatar Sep 14 '19 08:09 phillipberndt

Okay, I'll see when I can take another look at the code. I'm now travelling with just a single screen, so…

madduck avatar Sep 14 '19 08:09 madduck