I have a problem regarding setting a custom resolution on my built-in display for my laptop. My desired resolution is 1600x900
. It's not shown in the Display Settings in Ubuntu 16.04, but after running the following,
sudo xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync and
sudo xrandr --addmode eDP-1 "1600x900_60.00"
the resolution is added to Displays Settings and I can apply it. Additionally, I put the 2 commands at the end of my ~/.profile
file, as this tutorial recommended. The problem is that it does not persist after a restart, rather I get an error: "Could not apply the stored configuration for monitors".
Additionally, I lack the /etc/gdm/init/Default
file to place these commands in that script.
xrandr
commands aren't being executed properly. If you're going to add them to your~/.profile
, make sure you get rid of thesudo
s in front of them.