In Linux, it is easy to change the display settings with e.g. XRandR. This works for as many displays as you can connect. Specifically, I would like to activate/enable and move the layout of multiple displays. Easy example (I think it is self-explainatory):
xrandr --output HDMI1 --right-of HDMI2
My goal here is more specifically, to switch between two Layouts. The tool must be able to take care not only of the actively used displays, but also the disconncted ones beyond the third monitor. Layout 1 looks like this:
and Layout 2:
My long search for a port of XRandR or a similar software for Windows didn't yield a good result. Especially the support for more than two or three displays is subpar.
- The Windows-tool
displayswitch
exists, but it only makes sense for at most two displays. You can just select\internal
or\extend
, but not\extend \monitor=4
or something like that. There also isdpiscaling
, but it doesn't provide a good cmd-interface. - Nir's MultiMonitorTool from this answer does manage the layout in some sense, but only connects one display at a time of the first three, NOT correctly Display 4 or 5. (The TVGameLauncher is not what I need. I also tried the other tools in NirCmd.)
- There is the (12noon) Display Changer (guide on how to use), which seems to fit, but it is again only able to connect the first three displays. Trying to not specify the monitors by hand, but to use use
-create
(save) and then-congigure
(reload) just gives me this errror for all versions. The output fordc64cmd -listmonitors
is lacking the disconnected displays - it only works fine for up to three displays:
Monitor: Generic PnP Monitor
Device: \\.\DISPLAY1
Adapter: Intel(R) UHD Graphics
(1920 x 1080 x 32 bpp) 60Hz default up, attached, primary (0,0)
Monitor: Generic PnP Monitor
Device: \\.\DISPLAY2
Adapter: Intel(R) UHD Graphics
(1920 x 1200 x 32 bpp) 59Hz default up, attached (1920,-109)
Monitor:
Device: \\.\DISPLAY3
Adapter: Intel(R) UHD Graphics
(1920 x 1200 x 32 bpp) 59Hz default up, attached (3840,-109)
I should note, that my graphics card is able to support 3 displays only at the same time. So to switch from Layout 1 to Layout 2, I would
- disconnect/detach 2
- disconnect/detach 3
- connect/attach 4
- connect/attach 5
Preferrably the tool should not need admin privileges. I don't know if the new Windows 10 settings changed something in comparison to older versions, but I expect third-party software to be compatible.
Ultimately, I would like to use it in AutoHotkey, but this is secondary.
Note: I didn't discuss the tools for a single display, but just to name a few: QRes, nircmd.exe setdisplay or ChangeScreenResolution.exe