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.00How can I set the resolution permanently?
31 Answer
Run terminal: Ctrl+Alt+T.
Type:
sudo nano /etc/rc.local.Add your script to the file (before
exitcommand):xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync.xrandr --addmode DP-1 1360x768_60.00.Save and Exit.
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.