Skip to content

Instantly share code, notes, and snippets.

@stoyanovgeorge
Created September 28, 2020 17:41
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 stoyanovgeorge/27ec9109638e803d2c956212be7de6ec to your computer and use it in GitHub Desktop.
Save stoyanovgeorge/27ec9109638e803d2c956212be7de6ec to your computer and use it in GitHub Desktop.
Change automatically resolution
#!/bin/sh
xrandr --newmode "3440x1440_44.00" 299.75 3440 3664 4024 4608 1440 1443 1453 1479 -hsync +vsync
xrandr --addmode HDMI-1-1 3440x1440_44.00
xrandr --output eDP-1-1 --off --output HDMI-1-1 --mode 3440x1440_44.00 --pos 0x0 --rotate normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment