Raspberry Pi 4 Model B

When both HDMI ports connect two separate displays, I want to change the HDMI port directly from 0 to 1 or 1 to 0 with console(terminal) code. Is it possible? Thank you.

  • to clarify ... you want to swap the output in software? Sep 12, 2022 at 11:38
  • yes, I would like to swap hdmi output (e.g 0 to 1) in software, with terminal code. Or should I add any code line in config.txt?
    – yottabyte
    Sep 12, 2022 at 11:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.