mons
Quickly manage two displays. tldr-pages
On Linux
Linux
Enable only the primary monitor
mons -oIdentifyEnable only the secondary monitor
mons -sIdentifyduplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor
mons -dIdentifymirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor
mons -mIdentify