After installing ubuntu 19.10 on my macbook, I changed the resolution to 2560×1600 and scaling to 100% instead of the default 200%.
Ubuntu supports very well the retina screen but the login screen was still at the old resolution after reboot.
To have the same resolution during the login with gdm you need to copy the monitors.xml file from your personal config to the /var/lib/gdm3/.config folder:
cd;sudo cp .config/monitors.xml /var/lib/gdm3/.config/
The content of my monitors.xml file is:
<monitors version="2"> <configuration> <logicalmonitor> <x>0</x> <y>0</y> <scale>1</scale> <primary>yes</primary> <monitor> <monitorspec> <connector>eDP-1</connector> <vendor>APP</vendor> <product>Color LCD</product> <serial>0x00000000</serial> </monitorspec> <mode> <width>2560</width> <height>1600</height> <rate>59.971588134765625</rate> </mode> </monitor> </logicalmonitor> </configuration> </monitors>
On next login after reboot the solution will be the same as it is during the gnome session.
This worked for a while, but after a recent update it stopped working for me.
gdm still boots up with a 800×640, but if I logout, it then has the new resolution.
Any idea what changed ? I’m running 20.10