Binary package “autorandr” in ubuntu bionic

Automatically select a display configuration for connected devices

 Autorandr is a script for managing xrandr configurations based on the
 connected devices. It can be set up to automatically switch to a
 stored configuration whenever a change in the configuration is
 detected.