Last active
July 13, 2025 18:28
-
-
Save wojtekadams/4d3876196fb07a41ec54c55a8abfca0f to your computer and use it in GitHub Desktop.
Adding proper resolution in xrandr for AOC monitors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # https://askubuntu.com/questions/377937/how-do-i-set-a-custom-resolution | |
| # cvt 2560 1440 | |
| xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync | |
| xrandr --addmode HDMI-1-2 "2560x1440" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`DP-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
2560x1440 59.95*+ 74.97
1920x1080 119.98 99.93 60.00 60.00 50.00 59.94
`