Skip to content

Instantly share code, notes, and snippets.

@pawelnapierala
Created September 10, 2019 11:24
Show Gist options
  • Save pawelnapierala/c21cc52ac0e7f4ea3be270804518f637 to your computer and use it in GitHub Desktop.
Save pawelnapierala/c21cc52ac0e7f4ea3be270804518f637 to your computer and use it in GitHub Desktop.
Fractional 150% scaling on an external 27'' 4K monitor and 200% on Dell XPS 9750 with 15'' 4K internal display on Ubuntu 18.4 with Xorg
# Uses xrandr to scale the 15'' 4K internal laptop display by 200% and the 27'' 4K external monitor by 150% without
# any blurring. Assumes the laptop is positioned below the monitor.
# Replace the output names (e.g "DP-1-3") with your own ones. Use the xrandr command with no arguments to find out
# the names.
xrandr --output DP-1-3 --scale 1.5x1.5 --mode 3840x2160 --fb 5760x5400 --pos 0x0 && xrandr --output eDP-1-1 --scale 1x1 --pos 1024x3240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment