Skip to content

Instantly share code, notes, and snippets.

@moksamedia
Created February 4, 2021 20:52
Show Gist options
  • Save moksamedia/3a9dca10e293a52df8b96288ebdecc69 to your computer and use it in GitHub Desktop.
Save moksamedia/3a9dca10e293a52df8b96288ebdecc69 to your computer and use it in GitHub Desktop.
My double monitor setup for PopOS / Ubuntu using xrandr for HIDPI laptop and HD external monitor
#!/bin/sh
xrandr --output HDMI-0 --mode 1920x1080 --fb 7680x2160 --pos 0x0 --scale 2x2 --rotate normal \
--output eDP-1-1 --primary --mode 3840x2160 --scale 1x1 --pos 3840x0 --rotate normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment