How to make display resolution 1360 x 768 permanantly?

I'm new to Ubuntu. I have to run the commands below every time I switch on the computer.

xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
xrandr --addmode DP-1 1360x768_60.00

How can I set the resolution permanently?

3

1 Answer

  1. Run terminal: Ctrl+Alt+T.

  2. Type: sudo nano /etc/rc.local.

  3. Add your script to the file (before exit command):

    xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync.

    xrandr --addmode DP-1 1360x768_60.00.

  4. Save and Exit.

  5. Restart.

The script on /etc/rc.local is called when your computer starts. So you do not need to type the script every time when your computer boots.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like