Skip to content

Instantly share code, notes, and snippets.

@yashvekaria
Last active April 6, 2020 06:27
Show Gist options
  • Save yashvekaria/67abac96407c7f04f39ea6e66db3d7cb to your computer and use it in GitHub Desktop.
Save yashvekaria/67abac96407c7f04f39ea6e66db3d7cb to your computer and use it in GitHub Desktop.
Set Screen Resolution in 2nd monitor - Ubuntu 14.04
Step 1
xrandr - check the monitor name, here in our example it is - eDP-1
Step 2
cvt 1600 900
Step 3
sudo xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
Step 4
sudo xrandr --addmode eDP-1 "1600x900_60.00"
To make the above process automatic,
gedit ~/.profile , add the last 2 commands to the end, commands in step 3 and 4, and save the file.
Above gist is made from http://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment