I found these answers, but they're old and I wonder if there are any new solutions for this.
This answer says add xrandr
commands to /etc/gdm/Init/Default
.
How to set the monitor to its native resolution which is not listed in the resolutions list?
And this answer says to edit /etc/X11/xorg.conf
which I don't have on my ubuntu 14.04.
How can I make xrandr customization permanent?
This explains how to create an xorg.conf file in case I don't have one.
Where is the X.org config file? How do I configure X there?
I've also found this method of running a script on startup to add the required resolution and setting it to the relevant screen. It looks a bit hacky and I'd like to know if there's a better way.
How to add a resolution in display settings?
Are these relevant to 14.04 in 2017?