Skip to content

Instantly share code, notes, and snippets.

@natanaeljr
Last active April 18, 2020 18:08
Show Gist options
  • Save natanaeljr/611967cac5b828ff104e0a82cdfd5bb8 to your computer and use it in GitHub Desktop.
Save natanaeljr/611967cac5b828ff104e0a82cdfd5bb8 to your computer and use it in GitHub Desktop.
Monitor resolutions tips with xrandr for Linux
#
# Set FullHD resolution (1920x1080) into a HD monitor of native resolution 1366x768.
#
xrandr --output eDP1 --mode 1366x768 --panning 1920x1080 --scale 1.41
#
# Set a scaled down resolution of 1920x1080 to 21:9 monitor (2560x1080)
$
xrandr --output HDMI1 --mode 1920x1080 --panning 1920x1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment