2

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?

Zanna
  • 72,312

1 Answers1

1
  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.

Olimjon
  • 7,522