Skip to content

Instantly share code, notes, and snippets.

@kidsil
Created April 24, 2017 10:36
Show Gist options
  • Save kidsil/3f7243b4cf7dceae79b6dabf559f1d62 to your computer and use it in GitHub Desktop.
Save kidsil/3f7243b4cf7dceae79b6dabf559f1d62 to your computer and use it in GitHub Desktop.
HiDpi Monitor with external HDMI Monitor xrandr setup
In this case, the external screen is on the right, and the laptop is on the left.
#!/bin/sh
xrandr --output HDMI1 --scale 2x2 --mode 1920x1080 --fb 3840x2160 --pos 3040x0 --rotate normal --primary
xrandr --output eDP1 --scale 1x1 --pos -980x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment