Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Add Custom Screen Resolution
#!/bin/sh
#Get the resolution details by cvt 1600 1200 60 in command line
#Refer link: http://askubuntu.com/questions/377937/how-to-set-a-custom-resolution
xrandr --newmode "1600x1200_75.00" 204.75 1600 1720 1888 2176 1200 1203 1207 1255 -hsync +vsync
#xrandr --addmode VGA1 1600x1200_75.00
xrandr --newmode "1440x900_75.00" 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync
xrandr --addmode VGA1 1440x900_75.00
xrandr --newmode "1360x768_75.00" 109.00 1360 1448 1584 1808 768 771 781 805 -hsync +vsync
#xrandr --addmode VGA1 1360x768_75.00
xrandr --newmode "1280x1024_75.00" 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync
#xrandr --addmode VGA1 1280x1024_75.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment