Television/Monitor configuration for media box

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Tallone55
Level 1
Level 1
Posts: 23
Joined: Thu Jul 16, 2015 4:03 pm

Television/Monitor configuration for media box

Post by Tallone55 »

I'm working to get a media box up and running. The box it's replacing has two displays:
A monitor, resolution 1280x1024, connected with DVI-I.
A television (projector), resolution 1280x720, connected with HDMI.

Here's what I need:

The displays need to be mirrored such that both displays show the same thing at all times. Any distortion due to scaling or cropping should be on the monitor.
The above configuration needs to persist across reboots.
The above configuration needs to persist regardless of whether the projector is on or off.

Currently I have a script which runs using "Startup Applications"

Code: Select all

xrandr --output DVI-I-1 --same-as HDMI-0
xrandr --output DVI-I-1 --auto --scale-from 1280x720 --output HDMI-0
This works, but if the projector turns off (which is must when not in use) the settings are reset and running the script again manually does not give the same result as before.
The box it's replacing is able to display properly regardless of what state the projector is in, running ubuntu 16.04. I know it should be possible to do this, but as I am not the person who set up the first box I'm very stuck.

Any help is appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Graphics Cards & Monitors”