2 Answers
2

I don't really know what i'm doing but i added my code to /etc/rc.local saved and rebooted and it did nothing. I re-looked at it and saw that it said this script does nothing In order to enable or disable this script just change the execution bits. So how would i do that
–
MattMay 26 '13 at 16:29

You can try putting your commands in ~/.profile. This file is executed when you log in, so you should see the resolution change at that point.

I can't guarantee this method though, because I don't know if your system has other startup scripts in the home folder.

As for rc.local, it should be executable by default. If it isn't, you can sudo nautilus to browse as root, then right-click on the file and select "Properties". From here you can make the script executable so it will work. You can also use chmod, but I thought you would prefer this method.

One more tip: running cvt only gives you the data you need for xrandr. You can drop it.