You are not logged in.

#1 2018-08-23 12:35:17

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

How to use xmonad PhysicalScreens?

I have daisy-chained two monitors in my xmonad config and I am setting the positions of both screens with xrandr like so:

xrandr \
    --output DP-1-1-1-8 --mode 2560x1440 --left-of DP-1-1-8 \
    --output DP-1-1-8 --mode 2560x1440 \
    --output eDP-1-1 --off

with the last output being my laptop screen.

Unfortunately, I seem to have come across the numbering problem and I am not sure how to debug this. I would like to avoid remapping a very logical, in my opinion, key map used by Xmonad. I have found this link which explains how xmonad deals with screen numbering

https://hackage.haskell.org/package/xmo … reens.html

The default should be based on the top left corner of the monitor. I include the suggested imports in .xmonad/xmonad.hs, but nothing seems to change.

Could anyone suggest what may may be going wrong here? Is there any way for me to debug this problem? Thanks.

Offline

#2 2018-08-28 16:59:41

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

Re: How to use xmonad PhysicalScreens?

Maybe this belongs more to Xmonad mailing list. I will try there and let you know.

The strange thing is that it works a bit randomly, but that convinces me only that I am not setting screen IDs based on the "upper-left-most corner, from top-to-bottom" as the docs say.

Last edited by AlmostSurelyRob (2018-08-28 16:59:53)

Offline

Board footer

Powered by FluxBB