Follow

Fixed an annoying issue I was having with xrandr just now.
For some reason it would ignore where I wanted one screen placed and put it on top of my primary screen.
The kludge to fix it was to turn that display on and off with 2 extra xrandr commands.

@lyndon Did you try `--right-of $MONITOR`? Or left, or wherever you want the second one.

@hund Yes, unfortunately it didn't seem to make a difference.

The xrandr command I use normally is:

xrandr \
--output LVDS1 --mode 1366x768 --pos 0x312 --rotate normal \
--output DP1 --off \
--output DP2 --off \
--output DP3 --off \
--output HDMI1 --off \
--output HDMI2 --off \
--output HDMI3 --primary --mode 1920x1080 --pos 1366x0 --rotate normal \
--output VGA1 --mode 1920x1080 --pos 3286x0 --rotate normal \
--output VIRTUAL1 --off

What happens is VGA1 clones HDMI3's view

@hund subsequently running:

xrandr --output VGA1 --off
xrandr --output VGA1 --mode 1920x1080 --pos 3286x0 --rotate normal

Fixes it. Of course I also had some weirdness with i3 so soft reload it then restore my backgrounds with nitrogen 😁

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.