Skip to content

Instantly share code, notes, and snippets.

@vovs03
Last active October 27, 2018 20:09
Show Gist options
  • Save vovs03/e4232d90e21beed2ac59fa9177c83a8a to your computer and use it in GitHub Desktop.
Save vovs03/e4232d90e21beed2ac59fa9177c83a8a to your computer and use it in GitHub Desktop.
Set display resolution 2560 x 1080 for LG-29 monitor
#!/bin/bash
# Author: Vladimir Pavlychev <[email protected]>
# Date: 2018-10-27
# Check your vga-resolution:
# `xrandr`
# check settings for 2560x1080 resolution
cvt 2560 1080
# Add new mode for LG 29"
xrandr --newmode "2560x1080_60.00" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync
xrandr --addmode HDMI-1 2560x1080_60.00
xrandr --output HDMI-1 --mode 2560x1080_60.00
@vovs03
Copy link
Author

vovs03 commented Oct 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment