On 07.05.22 18:13, Hiltjo Posthuma wrote:
Not sure if this is of any help, but I was having troubles with DWM on two monitors as well, one screen was not recognized by DWM.On Fri, May 06, 2022 at 10:27:32PM -0400, Christopher Brown wrote:Hello,I have been intermittently encountering an issue where dwm messes up my monitor resolutions when powering on my two monitors. Frequently, both screens will be combined on one monitor while the other monitor does not receive input. The "Two independent outputs" section of the multi monitor dwm documentation seems to describe what I am experiencing. I tried using the xrandr options it mentions, but I will still sometimes encounter the issue. Does anyone know how to prevent this from happening? Thank you, ChristopherHi Christopher, Do you run the latest git version? Can you try the commit https://git.suckless.org/dwm/commit/d93ff48803f04f1363bf303af1d7e6ccc5cb8d3f.html or if you run the git version revert the commit and see if it solves the issue?
A 1 second delay before running my screen layout script was enough to fix it, here's an explanation:
https://wiki.archlinux.org/title/xrandr#Setting_resolution_from_.xinitrc_doesn't_work Regards, Yan
OpenPGP_signature
Description: OpenPGP digital signature