For X11 there is Xrandr. For Kde there is `kscreen-doctor`. See https://arewewaylandyet.com/