Skip to content

Instantly share code, notes, and snippets.

@brainstorm
Created May 3, 2017 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainstorm/b28a4ac8081cfdc9253cb3e0dfc2d6b9 to your computer and use it in GitHub Desktop.
Save brainstorm/b28a4ac8081cfdc9253cb3e0dfc2d6b9 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Useless dock, cannot drive 2 monitors and LVDS at once :____(
# 2 invocations because the Intel graphics card can only handle two outputs at a time
xrandr -d :0.0 --output HDMI-2 --auto --primary --output LVDS-1
xrandr -d :0.0 --output HDMI-3 --auto --right-of HDMI-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment