Skip to content

Instantly share code, notes, and snippets.

@annalinneajohansson
Created January 27, 2015 05:28
Show Gist options
  • Select an option

  • Save annalinneajohansson/ae7e4c78f754458c5dc0 to your computer and use it in GitHub Desktop.

Select an option

Save annalinneajohansson/ae7e4c78f754458c5dc0 to your computer and use it in GitHub Desktop.
3 screen setup
#!/bin/bash
sleep 1
xrandr --output DFP10 --mode 1920x1080 --pos 1920x0 --rotate normal --output DFP11 --mode 1920x1080 --pos 0x0 --rotate normal --output CRT1 --off --output DFP8 --off --output DFP9 --off --output DFP6 --off --output DFP7 --off --output DFP4 --off --output DFP5 --mode 1920x1080 --pos 3840x0 --rotate left --output DFP2 --off --output DFP3 --off --output DFP1 --off
#!/bin/bash
sleep 1
xrandr --output DVI-0 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-1 --mode 1920x1080 --pos 3840x0 --rotate left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment