Skip to content

Instantly share code, notes, and snippets.

@yordanoweb
Last active August 19, 2022 23:34
Show Gist options
  • Save yordanoweb/0e2341502abe85cc0a99e04b7082ddb9 to your computer and use it in GitHub Desktop.
Save yordanoweb/0e2341502abe85cc0a99e04b7082ddb9 to your computer and use it in GitHub Desktop.
Activate and deactivate HDMI in Linux manually

HDMI handling in Linux

  • HDMI1 output to right screen
xrandr --output HDMI1 --mode 1366x768 --right-of eDP1   
  • Deactivate right HDM1 output screen
xrandr --output HDMI1 --off
  • Duplicate
xrandr --output HDMI1 --same-as eDP1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment