Skip to content

Instantly share code, notes, and snippets.

@Trevol
Created April 4, 2019 14:20
Show Gist options
  • Save Trevol/ab89137169076540a54ad91c7bd38380 to your computer and use it in GitHub Desktop.
Save Trevol/ab89137169076540a54ad91c7bd38380 to your computer and use it in GitHub Desktop.
How to list monitors and switch main monitor in Linux
xrandr
xrandr --output <display> --primary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment