Most desktops have their own apps/settings to re-arrange your monitors.

Tiling Window Managers often do not have it. There are different ways to cope with that.

Xrandr and Arandr are great tools to analyze your hardware. Then it is up to you how and where you launch the command line to set your monitors.