0

My (Linux Mint) PC is connected via Display Port and HDMI to a Monitor and a TV. I want to be able to switch between them, so that the other one is disabled. Are there any commands that can perform this switch? Like some xrandr based stuff?

1 Answer 1

0

Something like

 xrandr --output HDMI-0 --auto
 xrandr --output DP-0 --off

adjusting the names?

1
  • To get the names, use xrandr -q for a list of displays and possible resolutions. Add --mode <width>x<height> for setting the resolution values (matching one of the -q possibilities .... or stay with --auto). The two lines could be done in one xrandr-command with two --output arguments. Commented Nov 15, 2019 at 9:22

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.