On Tue, Oct 01 2019, Stein Gunnar Bakkeby wrote:
> I think the primary monitor is always 0, so you could probably change the > order in xrandr as Hiltjo said by moving the --primary flag, e.g. > > xrandr --output eDP1 --mode 1920x1080 *--primary* --left-of HDMI1 \ >> --output HDMI1 --mode 1920x1080 --left-of VGA1 \ >> --output VGA1 --mode 1680x1050 You are correct, changing the primary output using xrandr also makes this output the first Xinerama screen. So this is a solution to the problem for two screen setups. > The focusmon and tagmon issues that you noted are indeed there in a default > setup and it's mainly noticeable when you have more than two monitors. In > my three monitor setup I had monitors laid out like this: > [1][0][2] > > I presume that's similar to what you get. What I ended up doing was simply > swapping the +/- signs of the keyboard shortcuts. Unfortunately this does not seem to be a solution. At least not to me since the screen order as returned by Xinerama somehow seems to depend on when I plug the monitors in. And since I use a Laptop that I carry around and plug monitors in and out the order of the screens is sometimes correct/as expected and sometimes not. So swapping keybindings in dwm would not solve the issue.